On Friday, September 04, 2015 at 02:22:22 PM, Thomas Chou wrote:
> Show fdt blob address in board info command.
> 
> Signed-off-by: Thomas Chou <tho...@wytron.com.tw>
> ---
>  common/cmd_bdinfo.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
> index ed3b935..74ff229 100644
> --- a/common/cmd_bdinfo.c
> +++ b/common/cmd_bdinfo.c
> @@ -176,6 +176,9 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc,
> char * const argv[]) #endif
> 
>       printf("baudrate    = %u bps\n", gd->baudrate);
> +#if defined(CONFIG_OF_CONTROL)
> +     print_num("fdt_blob", (ulong)gd->fdt_blob);

I think this will not work on 64bit machines.

> +#endif
> 
>       return 0;
>  }

Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to