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 <s...@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!

Reply via email to