]> git.sur5r.net Git - u-boot/commit
spi: add altera spi controller support
authorThomas Chou <thomas@wytron.com.tw>
Fri, 30 Apr 2010 03:34:16 +0000 (11:34 +0800)
committerScott McNutt <smcnutt@psyent.com>
Fri, 28 May 2010 14:56:03 +0000 (10:56 -0400)
commit661ba14051db6766932fcb50ba1ec7c67f230054
tree51ae3067263027cb43309576c244804730edddbd
parent1e8e9bad2db38e93c3bc9f4b6238b3d8be99e469
spi: add altera spi controller support

This patch adds the driver of altera spi controller, which is
used as epcs/spi flash controller. It also works with mmc_spi
driver.

This driver support more than one spi bus, with base list declared
#define CONFIG_SYS_ALTERA_SPI_LIST { BASE_0,BASE_1,... }

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Tested-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
drivers/spi/Makefile
drivers/spi/altera_spi.c [new file with mode: 0644]