From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoshihiro Shimoda Date: Tue, 18 Jan 2011 16:40:51 +0900 Subject: [U-Boot] [PATCH] spi: add support SuperH SPI module In-Reply-To: References: <4D33C089.8040007@renesas.com> Message-ID: <4D354403.10606@renesas.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Iwamatsu-san, Thank you for your review. 2011/01/17 19:28, Nobuhiro Iwamatsu wrote: > Hi, Shioda-san. > > 2011/1/17 Yoshihiro Shimoda : >> +#define SPI_TBR 0x00 >> +#define SPI_RBR 0x00 >> +#define SPI_CR1 0x08 >> +#define SPI_CR2 0x10 >> +#define SPI_CR3 0x18 >> +#define SPI_CR4 0x20 < snip > > Please add prefix of "SH_". Yes, I will add it. >> +int spi_cs_is_valid(unsigned int bus, unsigned int cs) >> +{ >> + return 1; >> +} > > Why does this function return "1" every time? Oh, it's temporary code. I will fix this function. Best regards, Yoshihiro Shimoda