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>
This commit is contained in:
Bin Meng 2018-09-26 06:55:10 -07:00 committed by Andes
parent 8cdc6b58d7
commit 058b77a9b8
1 changed files with 2 additions and 0 deletions

View 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();