summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2008-05-08 20:52:15 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-05-10 11:32:06 +0200
commit93da48b910511911ce110656e17ed733c8ac4c45 (patch)
tree309e96bcf4dc7673be3ce26a7be2decd88a10ecf
parent1c90df3e148ce0a3e2c86c63b38b19d47772f2a0 (diff)
downloadu-boot-imx-93da48b910511911ce110656e17ed733c8ac4c45.zip
u-boot-imx-93da48b910511911ce110656e17ed733c8ac4c45.tar.gz
u-boot-imx-93da48b910511911ce110656e17ed733c8ac4c45.tar.bz2
AT91CAP9ADK: Normalize SPI timings
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>
-rw-r--r--include/configs/at91cap9adk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/at91cap9adk.h b/include/configs/at91cap9adk.h
index 7887b36..588f45d 100644
--- a/include/configs/at91cap9adk.h
+++ b/include/configs/at91cap9adk.h
@@ -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