[PATCH 03/40] x86: Move the acpi table to generic global_data
Simon Glass
sjg at chromium.org
Sun Jan 23 22:54:04 CET 2022
Allow this to be used on any arch. Also convert to using macros so that
we can check the CONFIG option in C code.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/sandbox/include/asm/global_data.h | 1 -
arch/x86/include/asm/global_data.h | 1 -
cmd/acpi.c | 6 +++---
include/asm-generic/global_data.h | 8 ++++++++
lib/acpi/acpi_table.c | 2 +-
test/dm/acpi.c | 2 +-
6 files changed, 13 insertions(+), 7 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list