]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
defconfig: k2g_evm_defconfig: Enable Cadence QSPI controller
authorVignesh R <vigneshr@ti.com>
Wed, 6 Jul 2016 04:50:58 +0000 (10:20 +0530)
committerJagan Teki <jteki@openedev.com>
Sat, 9 Jul 2016 14:46:33 +0000 (20:16 +0530)
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>
configs/k2g_evm_defconfig
include/configs/k2g_evm.h

index 802eeee882bdac88e0c4eac39658cde13cc1253e..5d44e8deb3d1c59a043ed317f75521ea2557e95a 100644 (file)
@@ -37,3 +37,5 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y
+CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_SPI_FLASH_BAR=y
index f8bba6710dba82b3b173c96c8eb5671891a10695..71b00378ffb6f15edc03466384521a0b0a696b9a 100644 (file)
 #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 */