x86: Move the acpi table to generic global_data
authorSimon Glass <sjg@chromium.org>
Wed, 1 Dec 2021 16:02:37 +0000 (09:02 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 18:44:36 +0000 (11:44 -0700)
commit233f0e35a3536102e13bed924a1c4aa33726f244
tree0008b8280127b9d3f6c8c2addc1146cffa296bb2
parente1722fcb7d3fcb62b41f0feda4ac2c7d27d7c1f1
x86: Move the acpi table to generic global_data

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
arch/x86/include/asm/global_data.h
cmd/acpi.c
include/asm-generic/global_data.h
lib/acpi/acpi_table.c
test/dm/acpi.c