[U-Boot-Users] [PATCH 5/6] AT91SAM9260EK: Normalize SPI timings

Stelian Pop stelian at popies.net
Thu Apr 3 15:48:52 CEST 2008


Set the SPI clock to 15 MHz, like Linux does.

Signed-off-by: Stelian Pop <stelian at popies.net>
---
 include/configs/at91sam9260ek.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/configs/at91sam9260ek.h b/include/configs/at91sam9260ek.h
index 8d02416..0aac0f5 100644
--- a/include/configs/at91sam9260ek.h
+++ b/include/configs/at91sam9260ek.h
@@ -96,7 +96,7 @@
 #define CFG_MAX_DATAFLASH_BANKS		2
 #define CFG_DATAFLASH_LOGIC_ADDR_CS0	0xC0000000	/* CS0 */
 #define CFG_DATAFLASH_LOGIC_ADDR_CS1	0xD0000000	/* CS1 */
-#define AT91_SPI_CLK			33000000
+#define AT91_SPI_CLK			15000000
 #define DATAFLASH_TCSS			(0x1a << 16)
 #define DATAFLASH_TCHS			(0x1 << 24)
 
-- 
1.5.3.3





More information about the U-Boot mailing list