[U-Boot] [UBOOT PATCH v6 1/3] x86: Generate a valid ACPI table

Simon Glass sjg at chromium.org
Sun Aug 23 23:20:32 CEST 2015


Hi,

On 22 August 2015 at 00:50, Saket Sinha <saket.sinha89 at gmail.com> wrote:
> 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 at gmail.com>
> ---
>
>  arch/x86/Kconfig                  |   9 +
>  arch/x86/include/asm/acpi_table.h | 390 ++++++++++++++++++++++++++++++++++
>  arch/x86/lib/Makefile             |   1 +
>  arch/x86/lib/acpi_table.c         | 436 ++++++++++++++++++++++++++++++++++++++
>  arch/x86/lib/tables.c             |   5 +
>  scripts/Makefile.lib              |  11 +
>  6 files changed, 852 insertions(+)
>  create mode 100644 arch/x86/include/asm/acpi_table.h
>  create mode 100644 arch/x86/lib/acpi_table.c

I'd like to get this in and deal with TODOs and other changes with
separate patches.

I've fixed up a few minor whitespace things. If there is anything else
really egregious I'll accept a fix-up patch for a few days.

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list