[U-Boot] [PATCH 5/9] openrisc: Add board info printout to cmd_bdinfo

Stefan Kristiansson
2011-11-22T04:30:32Z

On Mon, Nov 21, 2011 at 11:53:32PM +0100, Marek Vasut wrote:
> > +int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
> > +{
> > + bd_t *bd = gd->bd;
> > +
> > + print_num("mem start", (ulong)bd->bi_memstart);
> > + print_lnum("mem size", (u64)bd->bi_memsize);
> > + print_num("flash start", (ulong)bd->bi_flashstart);
> > + print_num("flash size", (ulong)bd->bi_flashsize);
> > + print_num("flash offset", (ulong)bd->bi_flashoffset);
> > +
> > +#if defined(CONFIG_CMD_NET)
> > + print_eth(0);
> > + printf("ip_addr = %pI4\n", &bd->bi_ip_addr);
> > +#endif
> > +
> > + printf("baudrate = %ld bps\n", bd->bi_baudrate);
>
> Would consistent format of the printed data be a problem ? ;-)
>

I'm sorry, I don't think I understand what you are referring to here.
When printed, they are all lined up.
If I haven't missed something, every arch does the printing like that.

Stefan