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: NSaket Sinha <saket.sinha89@gmail.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Tidied up whitespace and aligned some tabs: Signed-off-by: NSimon Glass <sjg@chromium.org>
Showing
arch/x86/include/asm/acpi_table.h
0 → 100644
arch/x86/lib/acpi_table.c
0 → 100644
想要评论请 注册 或 登录