diff options
author | Tom Rini <trini@konsulko.com> | 2023-08-21 15:48:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-21 15:48:30 -0400 |
commit | db72a5736f0278ebdbd6496318f07caeb662b9d0 (patch) | |
tree | ea63551e19d373bbbd1f7b9ca65a3da76392564e /test/dm/cpu.c | |
parent | 17aad803551500e1a3d87339a6559e99b7fad479 (diff) | |
parent | 25a9be71ec1ca779aac8bcb1d8a363725ff0ac7f (diff) |
Merge tag 'dm-pull-20aug23' of https://source.denx.de/u-boot/custodians/u-boot-dm
sandbox64 fixes
Diffstat (limited to 'test/dm/cpu.c')
-rw-r--r-- | test/dm/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/cpu.c b/test/dm/cpu.c index d7e596ee396..5734cd0a92d 100644 --- a/test/dm/cpu.c +++ b/test/dm/cpu.c @@ -37,7 +37,7 @@ static int dm_test_cpu(struct unit_test_state *uts) ut_assertok(cpu_get_info(dev, &info)); ut_asserteq(info.cpu_freq, 42 * 42 * 42 * 42 * 42); ut_asserteq(info.features, 0x42424242); - ut_asserteq(info.address_width, 32); + ut_asserteq(info.address_width, IS_ENABLED(CONFIG_PHYS_64BIT) ? 64 : 32); ut_asserteq(cpu_get_count(dev), 42); |