mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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 <hs@denx.de> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
@ -375,6 +375,8 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||||||
printf("Early malloc usage: %lx / %x\n", gd->malloc_ptr,
|
printf("Early malloc usage: %lx / %x\n", gd->malloc_ptr,
|
||||||
CONFIG_SYS_MALLOC_F_LEN);
|
CONFIG_SYS_MALLOC_F_LEN);
|
||||||
#endif
|
#endif
|
||||||
|
if (gd->fdt_blob)
|
||||||
|
printf("fdt_blob = %p\n", gd->fdt_blob);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user