From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 13 Aug 2008 22:01:37 +0200 Subject: [U-Boot] [PATCH] ppc4xx: Read pipeline depth set to 4 for PPC440SP/SPE, PPC405EX, PPC460EX/GT/SX processors In-Reply-To: <49c0ff980808131204hdc940cel1dcc28d607429f78@mail.gmail.com> References: <1218602619-19293-1-git-send-email-fkan@amcc.com> <20080813053740.2B620248AC@gemini.denx.de> <49c0ff980808131204hdc940cel1dcc28d607429f78@mail.gmail.com> Message-ID: <20080813200137.D331D248AC@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 "prodyut hazarika", In message <49c0ff980808131204hdc940cel1dcc28d607429f78@mail.gmail.com> you wrote: > > > > But then, you are changing good TAB chanracters that were used for > > > vertical alignment into spaces. This is incorrect - please read the > > > Coding Style requirements. > > > > > > Please do not do this. > > The problem is that lot of existing code use spaces to align the > defines. You can see include/ppc4xx.h and lot of other header files. I > have seen that spaces are used only in defines. As an example in > ppc4xx.h. I can send thousands of other places.: > > #if defined(CONFIG_405EX) || \$ > defined(CONFIG_440SP) || defined(CONFIG_440SPE) || \$ > defined(CONFIG_460EX) || defined(CONFIG_460GT)$ > #define CONFIG_SDRAM_PPC4xx_IBM_DDR2^I/* IBM DDR(2) controller */$ > #endif$ Here it makes sense to align the 'define's vertically, and it seems obvious that only spaces can be used here. Yes, I am aware that there are lots of bad examples around, but please take the good ones as a guide, not the bad ones. Finally, no matter what any examples were that you might have followed when writing new code. What I am complaining about is that you changed good code and converted it into bad one. 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 Quotation, n. The act of repeating erroneously the words of another. The words erroneously repeated. - Ambrose Bierce _The Devil's Dictionary_