]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/stv0991.h
arm: spear: Move to common SPL infrastructure
[karo-tx-uboot.git] / include / configs / stv0991.h
index d498c1276ac71f8ab3b61ce4809a4b201e15fa41..b1b69197d4f6dbc63407f1e4f131b2e455647c28 100644 (file)
@@ -36,7 +36,6 @@
 #define CONFIG_PL01X_SERIAL
 
 /* user interface */
-#define CONFIG_SYS_PROMPT                      "STV0991> "
 #define CONFIG_SYS_CBSIZE                      1024
 #define CONFIG_SYS_PBSIZE                      (CONFIG_SYS_CBSIZE \
                                                +sizeof(CONFIG_SYS_PROMPT) + 16)
 #define CONFIG_BOOTDELAY                       3
 #define CONFIG_BOOTCOMMAND                     "go 0x40040000"
 
-#define CONFIG_OF_SEPARATE
-#define CONFIG_OF_CONTROL
 #define CONFIG_OF_LIBFDT
+
+/*
++ * QSPI support
++ */
+#ifdef CONFIG_OF_CONTROL               /* QSPI is controlled via DT */
+#define CONFIG_CADENCE_QSPI
+#define CONFIG_CQSPI_DECODER           0
+#define CONFIG_CQSPI_REF_CLK           ((30/4)/2)*1000*1000
+#define CONFIG_CMD_SPI
+
+#define CONFIG_SPI_FLASH_STMICRO       /* Micron/Numonyx flash */
+#define CONFIG_SPI_FLASH_WINBOND       /* WINBOND */
+#define CONFIG_CMD_SF
+#endif
+
 #endif /* __CONFIG_H */