[U-Boot] [PATCH] nios2: remove EP1C20, EP1S10, EP1S40 boards

Thomas Chou thomas at wytron.com.tw
Fri Apr 23 06:30:27 CEST 2010


On 04/23/2010 12:21 PM, Scott McNutt wrote:
>
> I tested on the 1c20 this evening as well ... works fine. I will test on
> the 2c35 board tomorrow. I'd like to get a positive confirmation WRT the
> 1S10 and 1S40 before applying this patch.

Great! Please also check epcs/spi flash on EP1C20.

1. apply this patch, [PATCH] spi_flash: support old STMicro parts with RES

2. add the following to board/altera/nios2-generic/custom_fpga.h

/* epcs_controller.epcs_control_port is a 
altera_avalon_epcs_flash_controller */
#define CONFIG_SYS_SPI_BASE 0x82100200
#define CONFIG_ALTERA_SPI
#define CONFIG_CMD_SPI
#define CONFIG_CMD_SF
#define CONFIG_SF_DEFAULT_SPEED 30000000
#define CONFIG_SPI_FLASH
#define CONFIG_SPI_FLASH_STMICRO

3.
sf probe 0
sf read/write


>
> I'll apply the generic board patch to the nios 'next' branch, but I'd
> like to hold off on blowing away those other board trees until we get
> a chance to test the generic board on the actual targets. Fair enough?
>
>
OK.

Cheers,
Thomas




More information about the U-Boot mailing list