
23 Jan
2022
23 Jan
'22
10:54 p.m.
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@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!