]> git.sur5r.net Git - u-boot/commitdiff
AT91CAP9ADK: Normalize SPI timings
authorStelian Pop <stelian@popies.net>
Thu, 8 May 2008 18:52:15 +0000 (20:52 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sat, 10 May 2008 09:32:06 +0000 (11:32 +0200)
This patch changes the SPI timings to closely match the ones
used by the Linux kernel and the Atmel's own bootstrap project.

Signed-off-by: Stelian Pop <stelian@popies.net>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
include/configs/at91cap9adk.h

index 7887b36db0755e46ba3060ce4bbeb6a9d903a46a..588f45d62384f08d81eaef0652bd2235a207d919 100644 (file)
@@ -94,9 +94,9 @@
 #define CFG_SPI_WRITE_TOUT             (5*CFG_HZ)
 #define CFG_MAX_DATAFLASH_BANKS                1
 #define CFG_DATAFLASH_LOGIC_ADDR_CS0   0xC0000000      /* CS0 */
-#define AT91_SPI_CLK                   20000000
-#define DATAFLASH_TCSS                 (0xFA << 16)
-#define DATAFLASH_TCHS                 (0x8 << 24)
+#define AT91_SPI_CLK                   15000000
+#define DATAFLASH_TCSS                 (0x1a << 16)
+#define DATAFLASH_TCHS                 (0x1 << 24)
 
 /* NOR flash */
 #define CFG_FLASH_CFI                  1