* [PATCH] BDINFO: ARC: print info about relocations
@ 2020-04-24 21:10 Eugeniy Paltsev
2020-05-13 13:55 ` Alexey Brodkin
0 siblings, 1 reply; 2+ messages in thread
From: Eugeniy Paltsev @ 2020-04-24 21:10 UTC (permalink / raw)
To: u-boot
Print relocation information in bdinfo.
NOTE: this patch changes only ARC part of bdinfo code.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
---
cmd/bdinfo.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index d6a7175b379..31ec4615641 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -439,20 +439,24 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return 0;
}
#elif defined(CONFIG_ARC)
int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
bd_t *bd = gd->bd;
print_bi_mem(bd);
+ if (!(gd->flags & GD_FLG_SKIP_RELOC)) {
+ print_num("relocaddr", gd->relocaddr);
+ print_num("reloc off", gd->reloc_off);
+ }
print_eth_ip_addr();
print_baudrate();
return 0;
}
#elif defined(CONFIG_XTENSA)
int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
--
2.21.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] BDINFO: ARC: print info about relocations
2020-04-24 21:10 [PATCH] BDINFO: ARC: print info about relocations Eugeniy Paltsev
@ 2020-05-13 13:55 ` Alexey Brodkin
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Brodkin @ 2020-05-13 13:55 UTC (permalink / raw)
To: u-boot
Hi Eugeniy,
> -----Original Message-----
> From: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
> Sent: Saturday, April 25, 2020 12:11 AM
> To: Alexey Brodkin <abrodkin@synopsys.com>
> Cc: u-boot at lists.denx.de; uboot-snps-arc at synopsys.com; Eugeniy Paltsev <paltsev@synopsys.com>
> Subject: [PATCH] BDINFO: ARC: print info about relocations
>
> Print relocation information in bdinfo.
> NOTE: this patch changes only ARC part of bdinfo code.
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
> ---
I guess we're getting similar functionality with Simon's series,
see https://patchwork.ozlabs.org/project/uboot/patch/20200510201702.196031-9-sjg at chromium.org/
Thus marking this one as deferred.
Though thanks for the patch!
-Alexey
> cmd/bdinfo.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
> index d6a7175b379..31ec4615641 100644
> --- a/cmd/bdinfo.c
> +++ b/cmd/bdinfo.c
> @@ -439,20 +439,24 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
> return 0;
> }
>
> #elif defined(CONFIG_ARC)
>
> int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
> {
> bd_t *bd = gd->bd;
>
> print_bi_mem(bd);
> + if (!(gd->flags & GD_FLG_SKIP_RELOC)) {
> + print_num("relocaddr", gd->relocaddr);
> + print_num("reloc off", gd->reloc_off);
> + }
> print_eth_ip_addr();
> print_baudrate();
>
> return 0;
> }
>
> #elif defined(CONFIG_XTENSA)
>
> int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
> {
> --
> 2.21.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-13 13:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 21:10 [PATCH] BDINFO: ARC: print info about relocations Eugeniy Paltsev
2020-05-13 13:55 ` Alexey Brodkin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.