Re: [U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller.

2010-08-04 Thread Graeme Smecher
Hi Mike, Thanks again for reviewing! Comments in-line; an updated patch will follow. On 03/08/10 10:59 AM, Mike Frysinger wrote: > On Tuesday, August 03, 2010 11:47:42 Graeme Smecher wrote: > >> --- a/drivers/spi/Makefile >> +++ b/drivers/spi/Makefile >> >> COBJS-$(CONFIG_ALTERA_SPI) += alt

Re: [U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller.

2010-08-03 Thread Mike Frysinger
On Tuesday, August 03, 2010 11:47:42 Graeme Smecher wrote: > --- a/drivers/spi/Makefile > +++ b/drivers/spi/Makefile > > COBJS-$(CONFIG_ALTERA_SPI) += altera_spi.o > +COBJS-$(CONFIG_XILINX_SPI) += xilinx_spi.o > COBJS-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o this is a sorted list.

[U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller.

2010-08-03 Thread Graeme Smecher
This code differs in only trivial ways from the altera_spi driver. It plays nice with Thomas Chou's mmc_spi driver, as well as with SPI flash. Documentation for the SPI core is available here: http://www.xilinx.com/support/documentation/ip_documentation/xps_spi.pdf Signed-off-by: Graeme Smech

Re: [U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller

2010-07-27 Thread Graeme Smecher
Hi all, I neglected to point out that this driver has been tested with Thomas Chou's mmc_spi patches, and appears to work with SPI flash (Winbond w25q64) as well. A quick diff shows this driver is nearly identical to the altera_spi driver. The only differences are: * the CS register is

[U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller

2010-07-27 Thread Graeme Smecher
--- drivers/spi/Makefile |1 + drivers/spi/xilinx_spi.c | 171 ++ 2 files changed, 172 insertions(+), 0 deletions(-) create mode 100644 drivers/spi/xilinx_spi.c diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index dfcbb8b..34e0f31 10