aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpu/cpu_sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpu/cpu_sandbox.c')
-rw-r--r--drivers/cpu/cpu_sandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpu/cpu_sandbox.c b/drivers/cpu/cpu_sandbox.c
index ff87e8adca3..05b384f6a45 100644
--- a/drivers/cpu/cpu_sandbox.c
+++ b/drivers/cpu/cpu_sandbox.c
@@ -19,6 +19,7 @@ int cpu_sandbox_get_info(struct udevice *dev, struct cpu_info *info)
{
info->cpu_freq = 42 * 42 * 42 * 42 * 42;
info->features = 0x42424242;
+ info->address_width = IS_ENABLED(CONFIG_PHYS_64BIT) ? 64 : 32;
return 0;
}