From: Wolfgang Denk Date: Tue, 26 Apr 2011 08:51:09 +0200 Subject: [U-Boot] [PATCH][v4] powerpc: eSPI and eSPI controller support In-Reply-To: <1303796554-29675-1-git-send-email-b21989@freescale.com> References: <1303796554-29675-1-git-send-email-b21989@freescale.com> Message-ID: <20110426065109.302C2D52704@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 Shaohui Xie, In message <1303796554-29675-1-git-send-email-b21989@freescale.com> you wrote: > From: Mingkai Hu > > Signed-off-by: Mingkai Hu > Singed-off-by: Jerry Huang > Signed-off-by: Shaohui Xie > Cc: Mike Frysinger ... > + if (pm > 16) { > + pm = 16; > + debug("Requested speed is too low: %d Hz" > + " %d Hz is used.\n", max_hz, spibrg / (32 * 16)); Please indent continuation lines. ... > + /* Set up the next iteration if sending > 4 bytes */ Line to long. Please fix globally. > --- a/include/spi.h > +++ b/include/spi.h > @@ -2,6 +2,8 @@ > * (C) Copyright 2001 > * Gerald Van Baren, Custom IDEAS, vanbaren at cideas.com. > * > + * Copyright 2010-2011 Freescale Semiconductor, Inc > + * > * See file CREDITS for list of people who contributed to this > * project. > * > @@ -26,13 +28,6 @@ > > /* Controller-specific definitions: */ > > -/* CONFIG_HARD_SPI triggers SPI bus initialization in PowerPC */ > -#ifdef CONFIG_MPC8XXX_SPI > -# ifndef CONFIG_HARD_SPI > -# define CONFIG_HARD_SPI > -# endif > -#endif > - > /* SPI mode flags */ > #define SPI_CPHA 0x01 /* clock phase */ > #define SPI_CPOL 0x02 /* clock polarity */ Please omit this part. The deletion of 6 lines of code is not something which earns FSL any copyright. 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 A Stanford research group advertised for participants in a study of obsessive-compulsive disorder. They were looking for therapy clients who had been diagnosed with this disorder. The response was grati- fying; they got 3,000 responses about three days after the ad came out. All from the same person.