Re: [U-Boot] [PATCH v3] spi: add altera spi controller support

2010-03-25 Thread Mike Frysinger
On Thursday 25 March 2010 23:23:03 Thomas Chou wrote: > + if (bus >= (sizeof(altera_spi_base_list) / sizeof(ulong))) > + return NULL; ARRAY_SIZE(altera_spi_base_list) ? -mike signature.asc Description: This is a digitally signed message part. _

[U-Boot] [PATCH v3] spi: add altera spi controller support

2010-03-25 Thread Thomas Chou
This patch adds the driver of altera spi controller, which is also used as epcs/spi flash controller. This driver support more than one spi bus, with base list declared #define CONFIG_SYS_ALTERA_SPI_LIST { BASE_0,BASE_1,... } With the spi_flash driver, they can replace the epcs driver at cpu/nios