[U-Boot] [PATCH v2 7/8] nios2: show fdt blob address in board info command
Marek Vasut
marex at denx.de
Fri Sep 4 16:01:52 CEST 2015
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 <thomas at 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
More information about the U-Boot
mailing list