summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2016-07-06 10:20:58 +0530
committerJagan Teki <jteki@openedev.com>2016-07-09 20:16:33 +0530
commit988fb5ce610bbd2cc5a839cce737bba307e94db7 (patch)
treef6099dd8487e17b89ad323ad83316e2bb2e544e9 /include
parentb60774fff1d2098c79cf1efb1e242f5f662ce317 (diff)
defconfig: k2g_evm_defconfig: Enable Cadence QSPI controller
Enable Cadence QSPI controller support to use QSPI on K2G SoC. Also enable Spansion flash support to access s25fl512s flash present on K2G QSPI bus. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/k2g_evm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h
index f8bba6710d..71b00378ff 100644
--- a/include/configs/k2g_evm.h
+++ b/include/configs/k2g_evm.h
@@ -73,4 +73,10 @@
#define CONFIG_SF_DEFAULT_BUS 1
#define CONFIG_SF_DEFAULT_CS 0
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_CADENCE_QSPI
+#define CONFIG_CQSPI_REF_CLK 384000000
+#define CONFIG_CQSPI_DECODER 0x0
+#endif
+
#endif /* __CONFIG_K2G_EVM_H */