summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorSaket Sinha <saket.sinha89@gmail.com>2015-08-22 12:20:55 +0530
committerSimon Glass <sjg@chromium.org>2015-08-26 07:54:13 -0700
commit867bcb63e79f66bc88d4546d132c5895ea339a66 (patch)
treecbb8f29bce91af6f15445354f874f2fd1cbf51d1 /arch/x86/Kconfig
parentdce54dd6c70e6af9a1b506ed45c0cfc9a90fcc92 (diff)
downloadtalos-obmc-uboot-867bcb63e79f66bc88d4546d132c5895ea339a66.tar.gz
talos-obmc-uboot-867bcb63e79f66bc88d4546d132c5895ea339a66.zip
x86: Generate a valid ACPI table
Implement write_acpi_table() to create a minimal working ACPI table. This includes writing FACS, XSDT, RSDP, FADT, MCFG, MADT, DSDT & SSDT ACPI table entries. Use a Kconfig option GENERATE_ACPI_TABLE to tell U-Boot whether we need actually write the APCI table just like we did for PIRQ routing, MP table and SFI tables. With ACPI table existence, linux kernel gets control of power management, thermal management, configuration management and monitoring in hardware. Signed-off-by: Saket Sinha <saket.sinha89@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tidied up whitespace and aligned some tabs: Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 273f08f52d..5e42d7d6a7 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -349,6 +349,15 @@ config GENERATE_MP_TABLE
multiprocessing as well as symmetric I/O interrupt handling with
the local APIC and I/O APIC.
+config GENERATE_ACPI_TABLE
+ bool "Generate an ACPI (Advanced Configuration and Power Interface) table"
+ default n
+ help
+ The Advanced Configuration and Power Interface (ACPI) specification
+ provides an open standard for device configuration and management
+ by the operating system. It defines platform-independent interfaces
+ for configuration and power management monitoring.
+
endmenu
config MAX_PIRQ_LINKS
OpenPOWER on IntegriCloud