mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user