[U-Boot] [PATCH v3 05/17] riscv: cmd: bdinfo: Print the relocation address
Bin Meng
bmeng.cn at gmail.com
Wed Sep 26 13:55:10 UTC 2018
Add printing of U-Boot relocation address.
Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---
Changes in v3:
- net patch to print the relocation address in cmd 'bdinfo'
Changes in v2: None
cmd/bdinfo.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index bc440e4..60b4387 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();
--
2.7.4
More information about the U-Boot
mailing list