summaryrefslogtreecommitdiff
path: root/include/configs/dra7xx_evm.h
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2016-02-10 10:51:43 +0530
committerTom Rini <trini@konsulko.com>2016-02-15 12:04:46 -0500
commit900e2104d8d336d85d1a80e3906458ee318a3c0b (patch)
treef2c2f4fc24919a4134e241dd1c9e958d68176208 /include/configs/dra7xx_evm.h
parent195629cd5350419a04e8ac5d206c58714f9b4385 (diff)
ARM : DRA7: Switch QSPI to use MODE-0 at 64MHz
According to Data Manual(SPRS915P) of AM572x, TI QSPI controller on DRA74 EVM(rev 1.1+) can support up to 64MHz in MODE-0, whereas MODE-3 is limited to 48MHz. Hence, switch to MODE-0 for better throughput. Also, add IODelay parameters for the same. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/dra7xx_evm.h')
-rw-r--r--include/configs/dra7xx_evm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 9d62421050..4658283014 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -138,8 +138,8 @@
#define CONFIG_CMD_SF
#define CONFIG_CMD_SPI
#define CONFIG_TI_SPI_MMAP
-#define CONFIG_SF_DEFAULT_SPEED 48000000
-#define CONFIG_DEFAULT_SPI_MODE SPI_MODE_3
+#define CONFIG_SF_DEFAULT_SPEED 64000000
+#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
#define CONFIG_QSPI_QUAD_SUPPORT
#ifdef CONFIG_SPL_BUILD