treewide: Remove unused FSL QSPI config options for IMX platforms
authorKuldeep Singh <kuldeep.singh@nxp.com>
Thu, 20 Feb 2020 17:27:54 +0000 (22:57 +0530)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:22 +0000 (13:46 +0200)
Some of these options are not used by the driver anymore and some of them
are obsolete as the information is gathered from the dt.
So, remove the unused config options now.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
include/configs/mx6sxsabreauto.h
include/configs/mx6sxsabresd.h
include/configs/mx6ul_14x14_evk.h
include/configs/mx6ullevk.h
include/configs/mx7dsabresd.h
include/configs/pcm052.h
include/configs/vf610twr.h

index 984cf611f4c30c6e6613d70a5663d475af25051a..dc5e81844316ea8faac1fba314da885edaa2ae75 100644 (file)
 
 #define CONFIG_IMX_THERMAL
 
-#ifdef CONFIG_FSL_QSPI
-#define CONFIG_SYS_FSL_QSPI_AHB
-#define FSL_QSPI_FLASH_SIZE            SZ_32M
-#define FSL_QSPI_FLASH_NUM             2
-#endif
-
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 #if defined(CONFIG_ENV_IS_IN_MMC)
 #define CONFIG_SYS_MMC_ENV_DEV         0  /*USDHC3*/
index 86007a2d36feeeace4385ed6fee097975328105a..3bff496bad2633b003659ed7ab2881ebb631d92c 100644 (file)
 
 #define CONFIG_IMX_THERMAL
 
-#ifdef CONFIG_FSL_QSPI
-#define CONFIG_SYS_FSL_QSPI_LE
-#define CONFIG_SYS_FSL_QSPI_AHB
-#ifdef CONFIG_MX6SX_SABRESD_REVA
-#define FSL_QSPI_FLASH_SIZE            SZ_16M
-#else
-#define FSL_QSPI_FLASH_SIZE            SZ_32M
-#endif
-#define FSL_QSPI_FLASH_NUM             2
-#endif
-
 #ifndef CONFIG_SPL_BUILD
 #ifdef CONFIG_VIDEO
 #define CONFIG_VIDEO_MXS
index a30d2c087999f6b39a5fc45b94e17a0b056e2eb2..1bdd5779403bbeed5ce96f2b456b4be8f089fbde 100644 (file)
 #define CONFIG_SYS_MMC_ENV_PART                0       /* user area */
 #define CONFIG_MMCROOT                 "/dev/mmcblk1p2"  /* USDHC2 */
 
-#ifdef CONFIG_FSL_QSPI
-#define CONFIG_SYS_FSL_QSPI_AHB
-#define FSL_QSPI_FLASH_NUM             1
-#define FSL_QSPI_FLASH_SIZE            SZ_32M
-#endif
-
 /* USB Configs */
 #ifdef CONFIG_CMD_USB
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
index af335bcfff482c96ff32dcecd5cd572c8755619e..3d42d26aa4943e2474c93aec4d68b5059a4355d7 100644 (file)
 
 #define CONFIG_SOFT_SPI
 
-#ifdef CONFIG_FSL_QSPI
-#define CONFIG_SYS_FSL_QSPI_AHB
-#define FSL_QSPI_FLASH_NUM             1
-#define FSL_QSPI_FLASH_SIZE            SZ_32M
-#endif
-
 #ifdef CONFIG_CMD_NET
 #define CONFIG_FEC_ENET_DEV            1
 #if (CONFIG_FEC_ENET_DEV == 0)
index e7d35ed648088f84a5bffb19945fb7720ea1514c..fa59748776db3ea099eb2f7c0d0f8e3ca5c80a0b 100644 (file)
 #define CONFIG_VIDEO_BMP_LOGO
 #endif
 
-#ifdef CONFIG_FSL_QSPI
-#define CONFIG_SYS_FSL_QSPI_AHB
-#define FSL_QSPI_FLASH_NUM             1
-#define FSL_QSPI_FLASH_SIZE            SZ_64M
-#define QSPI0_BASE_ADDR                        QSPI1_IPS_BASE_ADDR
-#define QSPI0_AMBA_BASE                        QSPI0_ARB_BASE_ADDR
-#endif
-
 #endif /* __CONFIG_H */
index 72f8d08a665c8fcd4aa60d47447012e36e28bd8d..d4d6ad2143f220b1e68071422e1fcf5a3d5812d8 100644 (file)
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
-/* QSPI Configs*/
-#ifdef CONFIG_FSL_QSPI
-#define FSL_QSPI_FLASH_SIZE            (SZ_16M)
-#define FSL_QSPI_FLASH_NUM             2
-#define CONFIG_SYS_FSL_QSPI_LE
-#endif
-
 
 #define CONFIG_LOADADDR                        0x82000000
 
index 3ab3231943877d9f836eb38c1b26f6d03525fc85..d52a5a7e833ca799d3d5cc74e5d8a0c485deeb81 100644 (file)
 #define CONFIG_FEC_XCV_TYPE            RMII
 #define CONFIG_FEC_MXC_PHYADDR          0
 
-/* QSPI Configs*/
-
-#ifdef CONFIG_FSL_QSPI
-#define FSL_QSPI_FLASH_SIZE            (1 << 24)
-#define FSL_QSPI_FLASH_NUM             2
-#define CONFIG_SYS_FSL_QSPI_LE
-#endif
-
 /* I2C Configs */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_MXC