mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
dm: core: Fix addresses in the dm static command
This command converts pointers to addresses, but the pointers being converted are in the image's rodata region. For sandbox this means it is not in DRAM so it does not make sense to do this conversion. Fix this by showing a simple pointer instead. Drop the unnecessary @ and hex prefixes. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
dee2f5ae5c
commit
c625666ea1
@ -169,8 +169,6 @@ void dm_dump_static_driver_info(void)
|
|||||||
|
|
||||||
puts("Driver Address\n");
|
puts("Driver Address\n");
|
||||||
puts("---------------------------------\n");
|
puts("---------------------------------\n");
|
||||||
for (entry = drv; entry != drv + n_ents; entry++) {
|
for (entry = drv; entry != drv + n_ents; entry++)
|
||||||
printf("%-25.25s @%08lx\n", entry->name,
|
printf("%-25.25s %p\n", entry->name, entry->plat);
|
||||||
(ulong)map_to_sysmem(entry->plat));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user