[U-Boot-Users] [PATCH 1/7] 83xx: nand support for MPC837XRDB boards

Scott Wood scottwood at freescale.com
Thu Mar 20 17:26:45 CET 2008


On Wed, Mar 19, 2008 at 08:16:45PM -0500, Kim Phillips wrote:
> On Tue, 18 Mar 2008 17:10:55 +0300
> Anton Vorontsov <avorontsov at ru.mvista.com> wrote:
> 
> > 
> > > > -/* VSC7385 Gigabit Switch support */
> > > > +/*
> > > > + * VSC7385 Gigabit Switch support
> > > > + */
> > > > +#define CFG_VSC7385_BASE	0xF0000000
> > > 
> > > What does this have to do with NAND?
> > 
> > Nothing. I'm expanding VSC7385 comment to better separate it from
> > the NAND code. Most lengthy parts of the RDB config are using
> > 
> > /*
> >  *
> >  */
> > 
> > as a logical separator. So did I.
> 
> that's fine, it just makes patch review easier and less susceptible to
> comments like this if you keep your patches on-subject.

To be fair, the main reason for the comment was that I missed this line:
-#define CFG_VSC7385_BASE	0xF0000000

way at the top of the diff, and thought the patch was introducing the
#define rather than just reformatting the comment.

-Scott




More information about the U-Boot mailing list