diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-01-24 19:52:29 +0100 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2018-01-30 22:34:38 +0800 |
commit | ca92ad4f6899cf37e69661f91dd49711b2ec09c7 (patch) | |
tree | f65b52430e6a3c3f0f1d24b5f115ebc72e6d4e31 /cmd | |
parent | 2d1c661915f046d89c4618889283a4f4d3b0bde2 (diff) | |
download | u-boot-ca92ad4f6899cf37e69661f91dd49711b2ec09c7.tar.gz |
cmd/bdinfo: print relocation info on X86
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>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bdinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index c7ebad17d1..de6fc48987 100644 --- 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); |