configs: fsl: Move SPI/SPI-FLASH configs to defconfig
authorJagan Teki <jteki@openedev.com>
Wed, 21 Sep 2016 19:55:48 +0000 (01:25 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 22 Sep 2016 08:47:02 +0000 (14:17 +0530)
Moved FSL_QSPI/SPI/SPI-FLASH configs from include/configs
into respective used defconfigs.
- CONFIG_FSL_QSPI
- CONFIG_SPI_FLASH
- CONFIG_SPI_FLASH_BAR
- CONFIG_SPI_FLASH_STMICRO

Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
configs/mx6sxsabreauto_defconfig
configs/mx6ul_14x14_evk_defconfig
configs/mx6ul_9x9_evk_defconfig
include/configs/mx6sxsabreauto.h
include/configs/mx6ul_14x14_evk.h

index 41d46f6e6c34630f75215c094c6267c8bdf2e39b..e80bb4e193e005c8f78b60a6b44e1f0399d19c91 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
+CONFIG_FSL_QSPI=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_STMICRO=y
index 9b4c4a4afbddfe4a4c87d6ad40ca74c251fba54e..a829a18f03d637e7b865b08f8ed43a40ab59b01d 100644 (file)
@@ -32,4 +32,8 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
+CONFIG_FSL_QSPI=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_BAR=y
+CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_OF_LIBFDT=y
index e88a1dc7e3bbd9e4f838bf137d5e8b8c10850afe..eaf3cfda1229df0fd595df23e482e769cf6a3541 100644 (file)
@@ -32,4 +32,8 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
+CONFIG_FSL_QSPI=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_BAR=y
+CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_OF_LIBFDT=y
index 274cb3600219344460a2042cc1dcb2b33fc6527c..c30e3dd6681b5367c79d6d451cf0256e101185ab 100644 (file)
 
 #define CONFIG_IMX_THERMAL
 
-#define CONFIG_FSL_QSPI
 #ifdef CONFIG_FSL_QSPI
 #define CONFIG_SYS_FSL_QSPI_AHB
 #define CONFIG_SF_DEFAULT_BUS          0
index 823405fb9e21c0d37a0752375180bcf626f74a7b..925a4183fb152e2c2bec0b5792ff860518dd62fe 100644 (file)
 #ifndef CONFIG_SYS_DCACHE_OFF
 #endif
 
-#define CONFIG_FSL_QSPI
 #ifdef CONFIG_FSL_QSPI
-#define CONFIG_SPI_FLASH
-#define CONFIG_SPI_FLASH_BAR
 #define CONFIG_SF_DEFAULT_BUS          0
 #define CONFIG_SF_DEFAULT_CS           0
 #define CONFIG_SF_DEFAULT_SPEED        40000000
 #define CONFIG_SF_DEFAULT_MODE         SPI_MODE_0
-#define CONFIG_SPI_FLASH_STMICRO
 #define FSL_QSPI_FLASH_NUM             1
 #define FSL_QSPI_FLASH_SIZE            SZ_32M
 #endif