dm: core: Fix addresses in the dm static command
authorSimon Glass <sjg@chromium.org>
Sun, 8 May 2022 10:39:21 +0000 (04:39 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Jun 2022 02:09:52 +0000 (03:09 +0100)
commitc625666ea10d88141546807f1b720703ba710eea
tree2c9c18eb46aa1081bd88c6d40e094dd675b41f89
parentdee2f5ae5cde41a5f9da7f154b47bfe92f531957
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>
drivers/core/dump.c