]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: acpi: Handle both 32bit and 64bit ACPI tables
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 13 Aug 2023 01:25:59 +0000 (03:25 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 22 Aug 2023 19:17:52 +0000 (15:17 -0400)
commit5ebe790ff02eb21fe74e0f3992b3b2416c609d18
treeeabff37a0138932e2e1b11657755a35fd8fc2ad0
parentc8659ca88c52acb2c00928f4534402b69b1e64a5
test: acpi: Handle both 32bit and 64bit ACPI tables

Handle both 32bit and 64bit systems, i.e. sandbox and sandbox64
the same way drivers/cpu/cpu_sandbox.c sets those ACPI tables up.
This fixes "$ ./u-boot -Tc 'ut dm dm_test_acpi_write_tables'"
test failure on sandbox64.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/acpi.c