
7 May
2016
7 May
'16
8:47 p.m.
On 7 May 2016 at 08:46, Bin Meng bmeng.cn@gmail.com wrote:
FADT/MADT tables are platform specific. Generate them for BayTrail.
Signed-off-by: Bin Meng bmeng.cn@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@chromium.org