diff options
author | Simon Glass <sjg@chromium.org> | 2021-12-01 19:02:37 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-01-25 21:44:36 +0300 |
commit | 233f0e35a3536102e13bed924a1c4aa33726f244 (patch) | |
tree | 0008b8280127b9d3f6c8c2addc1146cffa296bb2 /test/dm/acpi.c | |
parent | e1722fcb7d3fcb62b41f0feda4ac2c7d27d7c1f1 (diff) | |
download | u-boot-233f0e35a3536102e13bed924a1c4aa33726f244.tar.xz |
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>
Diffstat (limited to 'test/dm/acpi.c')
-rw-r--r-- | test/dm/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/acpi.c b/test/dm/acpi.c index c51073c9a6..804124df9e 100644 --- a/test/dm/acpi.c +++ b/test/dm/acpi.c @@ -320,7 +320,7 @@ static int dm_test_acpi_setup_base_tables(struct unit_test_state *uts) buf = memalign(64, BUF_SIZE); ut_assertnonnull(buf); acpi_setup_base_tables(&ctx, buf + 4); - ut_asserteq(map_to_sysmem(PTR_ALIGN(buf + 4, 16)), gd->arch.acpi_start); + ut_asserteq(map_to_sysmem(PTR_ALIGN(buf + 4, 16)), gd_acpi_start()); rsdp = buf + 16; ut_asserteq_ptr(rsdp, ctx.rsdp); |