summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudhakar Rajashekhara <sudhakar.raj@ti.com>2010-01-28 19:07:59 +0530
committerSudhakar Rajashekhara <sudhakar.raj@ti.com>2010-02-09 14:22:23 +0530
commitaa3488446a44afe5a80666d6d930002c5044fd89 (patch)
treee4fc8d867beb3702ca3b074ea8ce10da311ccfe2
parentbe87d9dd2712064050a406d9550e365dac9d0feb (diff)
da8xx: Decrease CONFIG_SF_DEFAULT_SPEED to 30MHz
With the introduction of 456MHz part, SPI operating frequency will increase and at this frequency SPI does not work correctly. Hence reduce the default SPI speed to 30MHz from 50MHz. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
-rw-r--r--include/configs/da830evm.h2
-rw-r--r--include/configs/da850evm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/da830evm.h b/include/configs/da830evm.h
index a578a128c8..9ef70dc3fc 100644
--- a/include/configs/da830evm.h
+++ b/include/configs/da830evm.h
@@ -151,7 +151,7 @@
#define CONFIG_DAVINCI_SPI
#define CONFIG_SYS_SPI_BASE DAVINCI_SPI0_BASE
#define CONFIG_SYS_SPI_CLK clk_get(DAVINCI_SPI0_CLKID)
-#define CONFIG_SF_DEFAULT_SPEED 50000000
+#define CONFIG_SF_DEFAULT_SPEED 30000000
#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
#endif
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 7595cfbb5b..54a81f3de5 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -75,7 +75,7 @@
#define CONFIG_DAVINCI_SPI
#define CONFIG_SYS_SPI_BASE DAVINCI_SPI1_BASE
#define CONFIG_SYS_SPI_CLK clk_get(DAVINCI_SPI1_CLKID)
-#define CONFIG_SF_DEFAULT_SPEED 50000000
+#define CONFIG_SF_DEFAULT_SPEED 30000000
#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
/*