summaryrefslogtreecommitdiff
path: root/cmd/bdinfo.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-09-26 06:55:10 -0700
committerAndes <uboot@andestech.com>2018-10-03 17:47:24 +0800
commit058b77a9b8f5f225cd9f97b48afb891c2fc00927 (patch)
tree06fd1543f6a02b41ac0f7eb5928c518f205bce67 /cmd/bdinfo.c
parent8cdc6b58d71b849bb687d3d914b9b1fa26136264 (diff)
riscv: cmd: bdinfo: Print the relocation address
Add printing of U-Boot relocation address. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Diffstat (limited to 'cmd/bdinfo.c')
-rw-r--r--cmd/bdinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index bc440e4c04..60b438766d 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -426,6 +426,8 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
print_bi_boot_params(bd);
print_bi_dram(bd);
+ print_num("relocaddr", gd->relocaddr);
+ print_num("reloc off", gd->reloc_off);
print_eth_ip_addr();
print_baudrate();