diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-20 21:54:09 (GMT) |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-09-21 22:22:14 (GMT) |
commit | 55fed6fd0b292b37df2a17aeca732194d99440a5 (patch) | |
tree | 0ad717a7e188f3e22ee75e24339960dd3e94c308 /arch/blackfin/include | |
parent | 3d7c8cf5ecc880be03385ae839913dc060af21a0 (diff) | |
download | u-boot-55fed6fd0b292b37df2a17aeca732194d99440a5.tar.xz |
Blackfin: bfin_spi: use same gpio cs define as Linux
Linux uses an offset of 8 to switch from hardware cs to a gpio cs,
so have u-boot use the same value. Also make sure it is public
for boards to access.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/config-pre.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/config-pre.h b/arch/blackfin/include/asm/config-pre.h index 4531519..4ce67d4 100644 --- a/arch/blackfin/include/asm/config-pre.h +++ b/arch/blackfin/include/asm/config-pre.h @@ -71,6 +71,9 @@ static inline const char *get_bfin_boot_mode(int bfin_boot) # define BFIN_BOOT_SPI_SSEL 1 #endif +/* Define to get a GPIO CS with the Blackfin SPI controller */ +#define MAX_CTRL_CS 8 + /* There is no Blackfin/NetBSD port */ #undef CONFIG_BOOTM_NETBSD |