From: Mike Frysinger Date: Wed, 9 Apr 2008 06:27:06 +0000 (-0400) Subject: Blackfin: set default boot SPI CS for BF538/BF539 X-Git-Tag: v2009.03-rc1~147^2~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=362c943347364e9373af4c5530778491ab56ec2e;p=oweals%2Fu-boot.git Blackfin: set default boot SPI CS for BF538/BF539 The BF538/BF539 use CS2 for booting off of rather than CS1 like newer Blackfin parts. Signed-off-by: Mike Frysinger --- diff --git a/board/bf537-stamp/spi_flash.c b/board/bf537-stamp/spi_flash.c index 11a2803e6f..a99c3fa533 100644 --- a/board/bf537-stamp/spi_flash.c +++ b/board/bf537-stamp/spi_flash.c @@ -182,8 +182,8 @@ static struct manufacturer_info flash_manufacturers[] = { * BF533, BF561: SSEL2 */ #ifndef CONFIG_SPI_FLASH_SSEL -# if defined(__ADSPBF531__) || defined(__ADSPBF532__) || \ - defined(__ADSPBF533__) || defined(__ADSPBF561__) +# if defined(__ADSPBF531__) || defined(__ADSPBF532__) || defined(__ADSPBF533__) || \ + defined(__ADSPBF538__) || defined(__ADSPBF539__) || defined(__ADSPBF561__) # define CONFIG_SPI_FLASH_SSEL 2 # else # define CONFIG_SPI_FLASH_SSEL 1