summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-02-07 22:53:45 +0100
committerWolfgang Denk <wd@denx.de>2009-02-07 22:53:45 +0100
commit045639397df535b7eac820b9dc3e4814ae16f19d (patch)
treed2959b011dca9b66ce497cc5d8dc7062d2576a8c /board
parent0ab5410a40930ed235a83161cd7e5a98c963ca91 (diff)
parent4b7e3d045cc82f7f7b6f3a19b54a814da36ac52c (diff)
downloadu-boot-imx-045639397df535b7eac820b9dc3e4814ae16f19d.zip
u-boot-imx-045639397df535b7eac820b9dc3e4814ae16f19d.tar.gz
u-boot-imx-045639397df535b7eac820b9dc3e4814ae16f19d.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'board')
-rw-r--r--board/bf537-stamp/spi_flash.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/board/bf537-stamp/spi_flash.c b/board/bf537-stamp/spi_flash.c
index b147ce7..7b764b4 100644
--- a/board/bf537-stamp/spi_flash.c
+++ b/board/bf537-stamp/spi_flash.c
@@ -180,13 +180,7 @@ static struct manufacturer_info flash_manufacturers[] = {
* BF51x, BF533, BF561: SSEL2
*/
#ifndef CONFIG_SPI_FLASH_SSEL
-# if defined(__ADSPBF531__) || defined(__ADSPBF532__) || defined(__ADSPBF533__) || \
- defined(__ADSPBF538__) || defined(__ADSPBF539__) || defined(__ADSPBF561__) || \
- defined(__ADSPBF51x__)
-# define CONFIG_SPI_FLASH_SSEL 2
-# else
-# define CONFIG_SPI_FLASH_SSEL 1
-# endif
+# define CONFIG_SPI_FLASH_SSEL BFIN_BOOT_SPI_SSEL
#endif
#define SSEL_MASK (1 << CONFIG_SPI_FLASH_SSEL)