From: Bin Meng Date: Wed, 26 Sep 2018 06:55:10 -0700 Subject: [U-Boot] [PATCH v3 05/17] riscv: cmd: bdinfo: Print the relocation address In-Reply-To: <1537970122-26443-1-git-send-email-bmeng.cn@gmail.com> References: <1537970122-26443-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1537970122-26443-6-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add printing of U-Boot relocation address. Signed-off-by: Bin Meng --- 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