nios2: add spi flash support to nios2-generic board
authorThomas Chou <thomas@wytron.com.tw>
Fri, 30 Apr 2010 03:34:18 +0000 (11:34 +0800)
committerScott McNutt <smcnutt@psyent.com>
Mon, 12 Jul 2010 15:35:30 +0000 (11:35 -0400)
commit551265f0df9e7a1c6098ff4eec435218423f365b
treef11922919f4d3f69e8bc414e3d361ccc30ba952a
parentec3b4981923396ba43f3b173eeffda60123e8d9d
nios2: add spi flash support to nios2-generic board

This patch enables the altera_spi and spi_flash drivers for the
nios2-generic board. It allows access to the EPCS/SPI flash on
the Altera EP1C20 board.

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>
board/altera/nios2-generic/custom_fpga.h