From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 22 Jul 2009 11:41:45 +0200 Subject: [U-Boot] [PATCH V5] ppc4xx: Add 405EP based PMC405DE board In-Reply-To: <200907220936.55822.sr@denx.de> References: <12481717431327-git-send-email-matthias.fuchs@esd.eu> <20090722072609.844D4832E416@gemini.denx.de> <200907220936.55822.sr@denx.de> Message-ID: <20090722094145.A7745832E416@gemini.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 Dear Stefan Roese, In message <200907220936.55822.sr@denx.de> you wrote: > Hi Wolfgang, > > On Wednesday 22 July 2009 09:26:09 Wolfgang Denk wrote: > > > +struct ppc4xx_config ppc4xx_config_val[] = { > > > + > > > + { "133", "CPU: 133 PLB: 133 OPB: 66 EBC: 44 PCI: 44/66", > > > + { 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > > + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > > + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > > + 0x00, 0x40, 0x12, 0x12, 0x42, 0x3e, 0x00, 0x00 } }, > > > + { "266", "CPU: 266 PLB: 133 OPB: 66 EBC: 44 PCI: 44/66", > > > + { 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > > + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > > + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > > + 0x00, 0x50, 0x22, 0x2d, 0x42, 0x3e, 0x00, 0x00 } }, > > > + { "333", "CPU: 333 PLB: 111 OPB: 55 EBC: 55 PCI: 55/111", > > > + { 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > > + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > > + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > > > + 0x00, 0x60, 0x29, 0x2d, 0x42, 0xbe, 0x00, 0x00 } }, > > > +}; > > > > Indentation by TAB , please. > > I don't see a problem here. The code is aligned to the lines above via spaces > (< 8 spaces). Example: The braces should be indented by TABs. > { 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > ^^^^ > > The "0x00" is aligned using two spaces to the "0x19" above. Nothing wrong with > it. Indentation is not done by TABs, but by TABs + spaces, and this is wrong. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Fascinating, a totally parochial attitude. -- Spock, "Metamorphosis", stardate 3219.8