riscv: cmd: bdinfo: Print the relocation address
authorBin Meng <bmeng.cn@gmail.com>
Wed, 26 Sep 2018 13:55:10 +0000 (06:55 -0700)
committerAndes <uboot@andestech.com>
Wed, 3 Oct 2018 09:47:24 +0000 (17:47 +0800)
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>
cmd/bdinfo.c

index bc440e4c0447fd398a47d5ab750281d410e77603..60b438766d31b1659fe94e43b74dc3874f03697a 100644 (file)
@@ -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();