[U-Boot] [PATCH v2 23/28] x86: baytrail: Generate ACPI FADT/MADT tables

Simon Glass sjg at chromium.org
Sat May 7 20:47:17 CEST 2016


On 7 May 2016 at 08:46, Bin Meng <bmeng.cn at gmail.com> wrote:
> FADT/MADT tables are platform specific. Generate them for BayTrail.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2:
> - Use existing macros in FADT whenever possible
> - Rename acpi_madt_irq_overrides() to acpi_create_madt_irq_overrides()
>   for consistency, and make it static
> - Return table length in acpi_create_madt_irq_overrides() so that the
>   code logic in acpi_fill_madt() looks consistent (eg: current += ...)
>
>  arch/x86/cpu/baytrail/Makefile |   1 +
>  arch/x86/cpu/baytrail/acpi.c   | 163 +++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 164 insertions(+)
>  create mode 100644 arch/x86/cpu/baytrail/acpi.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list