]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Move FACP table into separate functions
authorSimon Glass <sjg@chromium.org>
Wed, 1 Dec 2021 16:02:55 +0000 (09:02 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 18:44:36 +0000 (11:44 -0700)
commit379d3c1fd6aa490b1ad5697525cfc89b615cf25a
tree2a309332b30c5c002215adc27c2ea7e2cfee002e
parent138d7ece70e7835ffd120da254af1abdb953e6da
x86: Move FACP table into separate functions

Each board has its own way of creating this table. Rather than calling the
acpi_create_fadt() function for each one from a common acpi_write_fadt()
function, just move the writer into the board-specific code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
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