public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] blackfin: spi: move spi max chip select to spi.h
@ 2014-06-06  6:44 Scott Jiang
  2014-06-06  6:44 ` [U-Boot] [PATCH 2/3] blackfin: spi clock is in sysclk1 domain instead of sysclk0 Scott Jiang
  2014-06-06  6:44 ` [U-Boot] [PATCH 3/3] spi: add common spi3 controller driver Scott Jiang
  0 siblings, 2 replies; 4+ messages in thread
From: Scott Jiang @ 2014-06-06  6:44 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
---
 arch/blackfin/include/asm/config-pre.h           |    3 ---
 arch/blackfin/include/asm/mach-common/bits/spi.h |    1 +
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/blackfin/include/asm/config-pre.h b/arch/blackfin/include/asm/config-pre.h
index d0fd537..0ffa44c 100644
--- a/arch/blackfin/include/asm/config-pre.h
+++ b/arch/blackfin/include/asm/config-pre.h
@@ -73,9 +73,6 @@ 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
 
diff --git a/arch/blackfin/include/asm/mach-common/bits/spi.h b/arch/blackfin/include/asm/mach-common/bits/spi.h
index 869dcb0..180cfaa 100644
--- a/arch/blackfin/include/asm/mach-common/bits/spi.h
+++ b/arch/blackfin/include/asm/mach-common/bits/spi.h
@@ -64,4 +64,5 @@
 #define RXS			0x0020	/* SPI_RDBR Data Buffer Status (Full/Empty*) */
 #define TXCOL			0x0040	/* Transmit Collision Error (Corrupt Data May Have Been Sent) */
 
+#define MAX_CTRL_CS             7
 #endif
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-09  8:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06  6:44 [U-Boot] [PATCH 1/3] blackfin: spi: move spi max chip select to spi.h Scott Jiang
2014-06-06  6:44 ` [U-Boot] [PATCH 2/3] blackfin: spi clock is in sysclk1 domain instead of sysclk0 Scott Jiang
2014-06-06  6:44 ` [U-Boot] [PATCH 3/3] spi: add common spi3 controller driver Scott Jiang
2014-06-09  8:36   ` Jagan Teki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox