summaryrefslogtreecommitdiffstats
path: root/include/power
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-22 12:45:06 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-09-25 11:27:16 +0800
commit10552377d44045fbf1a30615b2c2d1d4ae5d03ec (patch)
tree152e52e253a22dffbe9dfece588ccd550da6d05b /include/power
parent59561c7c2e07aba2a1bca1a1f21e49d69c6af53c (diff)
downloadu-boot-10552377d44045fbf1a30615b2c2d1d4ae5d03ec.tar.gz
u-boot-10552377d44045fbf1a30615b2c2d1d4ae5d03ec.tar.xz
u-boot-10552377d44045fbf1a30615b2c2d1d4ae5d03ec.zip
x86: apl: Add power-management definitions
Add SCI and power-state definitions required by ACPI tables. Fix the license to match the original source file. Als update the guard on acpi_pmc.h to avoid an error when buiding ASL. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/power')
-rw-r--r--include/power/acpi_pmc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/power/acpi_pmc.h b/include/power/acpi_pmc.h
index 5fbf745136..222288b71a 100644
--- a/include/power/acpi_pmc.h
+++ b/include/power/acpi_pmc.h
@@ -6,7 +6,7 @@
#ifndef __ACPI_PMC_H
#define __ACPI_PMC_H
-#ifndef __ACPI__
+#ifndef __ASSEMBLY__
enum {
GPE0_REG_MAX = 4,
@@ -194,6 +194,6 @@ void pmc_dump_info(struct udevice *dev);
*/
int pmc_gpe_init(struct udevice *dev);
-#endif /* !__ACPI__ */
+#endif /* !__ASSEMBLY__ */
#endif