[PATCH 21/40] x86: Move FACP table into separate functions
Simon Glass
sjg at chromium.org
Sun Jan 23 22:53:40 CET 2022
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 at chromium.org>
---
arch/x86/cpu/apollolake/acpi.c | 17 +++++++++++++----
arch/x86/cpu/baytrail/acpi.c | 27 +++++++++++++++++++--------
arch/x86/cpu/quark/acpi.c | 27 +++++++++++++++++++--------
arch/x86/cpu/tangier/acpi.c | 25 +++++++++++++++++--------
arch/x86/include/asm/acpi_table.h | 2 --
arch/x86/lib/acpi_table.c | 15 ---------------
6 files changed, 68 insertions(+), 45 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list