projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d1c661
)
cmd/bdinfo: print relocation info on X86
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 24 Jan 2018 18:52:29 +0000
(19:52 +0100)
committer
Bin Meng
<bmeng.cn@gmail.com>
Tue, 30 Jan 2018 14:34:38 +0000
(22:34 +0800)
For debugging U-Boot in qemu-x86 the relocation address is needed.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
cmd/bdinfo.c
patch
|
blob
|
history
diff --git
a/cmd/bdinfo.c
b/cmd/bdinfo.c
index c7ebad17d1751a831915ad88fb736229bc4164ae..de6fc48987793b4ffe6a93541f36095d861e99bc 100644
(file)
--- a/
cmd/bdinfo.c
+++ b/
cmd/bdinfo.c
@@
-377,6
+377,8
@@
int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
print_bi_dram(bd);
+ print_num("relocaddr", gd->relocaddr);
+ print_num("reloc off", gd->reloc_off);
#if defined(CONFIG_CMD_NET)
print_eth_ip_addr();
print_mhz("ethspeed", bd->bi_ethspeed);