commit | 5d5dd8197fc604d3cc8824780cdc06fd3c1249c4 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Sun Aug 13 21:52:19 2023 +0200 |
committer | Simon Glass <sjg@chromium.org> | Sun Aug 20 15:55:27 2023 -0600 |
tree | ea63551e19d373bbbd1f7b9ca65a3da76392564e | |
parent | a531611a226f2850e1e0933c77e90fa55e5dd34b [diff] |
test: cpu: Handle both 32bit and 64bit CPUs Handle both 32bit and 64bit systems, i.e. sandbox and sandbox64 the same way drivers/cpu/cpu_sandbox.c does, that is in case CONFIG_PHYS_64BIT is enabled, assume 64bit address width, else assume 32bit address width. This fixes ut_dm_dm_test_cpu test failure on sandbox64. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Simon Glass <sjg@chromium.org>