* [U-Boot] [PATCH] bdinfo: print fdt_blob
@ 2017-06-21 4:22 Heiko Schocher
2017-06-21 5:54 ` Lokesh Vutla
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Heiko Schocher @ 2017-06-21 4:22 UTC (permalink / raw)
To: u-boot
for debugging it is handy to know the fdt_blob
address. So print it in bdinfo.
Signed-off-by: Heiko Schocher <hs@denx.de>
---
cmd/bdinfo.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
index ff3cce0..ef11e72 100644
--- a/cmd/bdinfo.c
+++ b/cmd/bdinfo.c
@@ -376,6 +376,8 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
printf("Early malloc usage: %lx / %x\n", gd->malloc_ptr,
CONFIG_SYS_MALLOC_F_LEN);
#endif
+ if (gd->fdt_blob)
+ printf("fdt_blob = %p\n", gd->fdt_blob);
return 0;
}
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] bdinfo: print fdt_blob
2017-06-21 4:22 [U-Boot] [PATCH] bdinfo: print fdt_blob Heiko Schocher
@ 2017-06-21 5:54 ` Lokesh Vutla
2017-06-24 22:17 ` [U-Boot] " Tom Rini
2017-06-26 18:42 ` [U-Boot] [PATCH] " Simon Glass
2 siblings, 0 replies; 4+ messages in thread
From: Lokesh Vutla @ 2017-06-21 5:54 UTC (permalink / raw)
To: u-boot
On Wednesday 21 June 2017 09:52 AM, Heiko Schocher wrote:
> for debugging it is handy to know the fdt_blob
> address. So print it in bdinfo.
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
Nice.
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Thanks and regards,
Lokesh
>
> cmd/bdinfo.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c
> index ff3cce0..ef11e72 100644
> --- a/cmd/bdinfo.c
> +++ b/cmd/bdinfo.c
> @@ -376,6 +376,8 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
> printf("Early malloc usage: %lx / %x\n", gd->malloc_ptr,
> CONFIG_SYS_MALLOC_F_LEN);
> #endif
> + if (gd->fdt_blob)
> + printf("fdt_blob = %p\n", gd->fdt_blob);
>
> return 0;
> }
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] bdinfo: print fdt_blob
2017-06-21 4:22 [U-Boot] [PATCH] bdinfo: print fdt_blob Heiko Schocher
2017-06-21 5:54 ` Lokesh Vutla
@ 2017-06-24 22:17 ` Tom Rini
2017-06-26 18:42 ` [U-Boot] [PATCH] " Simon Glass
2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2017-06-24 22:17 UTC (permalink / raw)
To: u-boot
On Wed, Jun 21, 2017 at 06:22:41AM +0200, Heiko Schocher wrote:
> for debugging it is handy to know the fdt_blob
> address. So print it in bdinfo.
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170624/da4819af/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] bdinfo: print fdt_blob
2017-06-21 4:22 [U-Boot] [PATCH] bdinfo: print fdt_blob Heiko Schocher
2017-06-21 5:54 ` Lokesh Vutla
2017-06-24 22:17 ` [U-Boot] " Tom Rini
@ 2017-06-26 18:42 ` Simon Glass
2 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2017-06-26 18:42 UTC (permalink / raw)
To: u-boot
On 20 June 2017 at 22:22, Heiko Schocher <hs@denx.de> wrote:
>
> for debugging it is handy to know the fdt_blob
> address. So print it in bdinfo.
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
>
> cmd/bdinfo.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-26 18:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-21 4:22 [U-Boot] [PATCH] bdinfo: print fdt_blob Heiko Schocher
2017-06-21 5:54 ` Lokesh Vutla
2017-06-24 22:17 ` [U-Boot] " Tom Rini
2017-06-26 18:42 ` [U-Boot] [PATCH] " Simon Glass
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.