x86: tangier: acpi: add I2C6 node
[oweals/u-boot.git] / arch / x86 / include / asm / acpi_table.h
index 80038504ddb8a2388995f6a5a7883ccb50e3b9cd..95fae036f69f563238958dca1b99df84eda9eca4 100644 (file)
@@ -1,12 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Based on acpi.c from coreboot
  *
  * Copyright (C) 2015, Saket Sinha <saket.sinha89@gmail.com>
  * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
  */
 
+#ifndef __ASM_ACPI_TABLE_H__
+#define __ASM_ACPI_TABLE_H__
+
 #define RSDP_SIG               "RSD PTR "      /* RSDP pointer signature */
 #define OEM_ID                 "U-BOOT"        /* U-Boot */
 #define OEM_TABLE_ID           "U-BOOTBL"      /* U-Boot Table */
@@ -318,32 +320,15 @@ int acpi_create_mcfg_mmconfig(struct acpi_mcfg_mmconfig *mmconfig, u32 base,
                              u16 seg_nr, u8 start, u8 end);
 u32 acpi_fill_mcfg(u32 current);
 void acpi_create_gnvs(struct acpi_global_nvs *gnvs);
-/**
- * enter_acpi_mode() - enter into ACPI mode
- *
- * This programs the ACPI-defined PM1_CNT register to enable SCI interrupt
- * so that the whole system swiches to ACPI mode.
- *
- * @pm1_cnt:   PM1_CNT register I/O address
- */
-void enter_acpi_mode(int pm1_cnt);
 ulong write_acpi_tables(ulong start);
 
 /**
- * acpi_find_fadt() - find ACPI FADT table in the sytem memory
+ * acpi_get_rsdp_addr() - get ACPI RSDP table address
  *
- * This routine parses the ACPI table to locate the ACPI FADT table.
+ * This routine returns the ACPI RSDP table address in the system memory.
  *
- * @return:    a pointer to the ACPI FADT table in the system memory
+ * @return:    ACPI RSDP table address
  */
-struct acpi_fadt *acpi_find_fadt(void);
+ulong acpi_get_rsdp_addr(void);
 
-/**
- * acpi_find_wakeup_vector() - find OS installed wake up vector address
- *
- * This routine parses the ACPI table to locate the wake up vector installed
- * by the OS previously.
- *
- * @return:    wake up vector address installed by the OS
- */
-void *acpi_find_wakeup_vector(struct acpi_fadt *);
+#endif /* __ASM_ACPI_TABLE_H__ */