From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 4 Sep 2015 16:01:52 +0200 Subject: [U-Boot] [PATCH v2 7/8] nios2: show fdt blob address in board info command In-Reply-To: <1441369343-4638-8-git-send-email-thomas@wytron.com.tw> References: <1441336526-23505-1-git-send-email-thomas@wytron.com.tw> <1441369343-4638-1-git-send-email-thomas@wytron.com.tw> <1441369343-4638-8-git-send-email-thomas@wytron.com.tw> Message-ID: <201509041601.52810.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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