]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: x86: Write FADT in common code
authorMaximilian Brune <maximilian.brune@9elements.com>
Wed, 23 Oct 2024 13:19:45 +0000 (15:19 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 27 Oct 2024 23:12:44 +0000 (17:12 -0600)
commitf5f7962091e453feb2e3f1bfe79dbace5e087c3e
tree644f954958cae0e4a45de266bf5250d4d3ad5fcb
parent1c03efc01485e2f0ba0a8c7eaa94b1bbbf393251
acpi: x86: Write FADT in common code

Write the FADT in common code since it's used on all architectures.
Since the FADT is mandatory all SoCs or mainboards must implement the
introduced function acpi_fill_fadt() and properly update the FADT.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/lib/acpi_table.c [new file with mode: 0644]
arch/x86/cpu/apollolake/acpi.c
arch/x86/cpu/baytrail/acpi.c
arch/x86/cpu/quark/acpi.c
arch/x86/cpu/tangier/acpi.c
arch/x86/include/asm/acpi_table.h
arch/x86/lib/acpi_table.c
include/acpi/acpi_table.h
lib/acpi/acpi_table.c