bdinfo: print fdt_blob
PATCH 1/1 bdinfo: print fdt_blob
for debugging it is handy to know the fdt_blob
address. So print it in bdinfo.
Signed-off-by Heiko Schocher <[email protected]>
---
cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+)
cmd/bdinfo.c +2 -0
@@ -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 ; }
Signature · 1 line
2.7.4
PATCH 1/1 bdinfo: print fdt_blob
Quoted 5 lines · Heiko Schocher
for debugging it is handy to know the
fdt_blob
address. So print it in bdinfo.Signed-off-by Heiko Schocher <[email protected]>---
Nice.
Reviewed-by Lokesh Vutla <[email protected]>
Thanks and regards,
Lokesh
Quoted 18 lines
cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+)cmd/bdinfo.c +2
-0@@ -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 ; }
Quoted 5 lines · Heiko Schocher
for debugging it is handy to know the
fdt_blob
address. So print it in bdinfo.Signed-off-by Heiko Schocher <[email protected]>Reviewed-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
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>
PATCH 1/1 bdinfo: print fdt_blob
In reply to Heiko SchocherQuoted 10 lines · Heiko Schocher
for debugging it is handy to know the
fdt_blob
address. So print it in bdinfo.Signed-off-by Heiko Schocher <[email protected]>---
cmd/bdinfo.c | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by Simon Glass <[email protected]>