]> git.baikalelectronics.ru Git - uboot.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)
commitd87efb70dda6dae03fc8ab8daf4b550e67da6b64
tree2a309332b30c5c002215adc27c2ea7e2cfee002e
parent2bfc8fccf6701b738117d3a2d2aa27341eef3b5c
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