[U-Boot-Users] [PATCH] NAND read/write.jffs2 fix

Kim Phillips kim.phillips at freescale.com
Wed May 14 19:40:50 CEST 2008


On Tue, 13 May 2008 15:41:06 -0500
Scott Wood <scottwood at freescale.com> wrote:

> 
> >  
> >  static int nand_dump(nand_info_t *nand, ulong off, int only_oob)
> >  {
> > @@ -73,9 +74,9 @@ static int nand_dump(nand_info_t *nand, ulong off, int only_oob)
> >  	while (i--) {
> >  		if (!only_oob) {
> >  			printf( "\t%02x %02x %02x %02x %02x %02x %02x %02x"
> > -					"  %02x %02x %02x %02x %02x %02x %02x %02x\n",
> > -					p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7],
> > -					p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]);
> > +				"  %02x %02x %02x %02x %02x %02x %02x %02x\n",
> > +				p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7],
> > +				p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]);
> 
> Still exceeds 80 characters on the last line.

or use lib_generic/display_options.c:print_buffer()

Kim




More information about the U-Boot mailing list