engicam: Move SPL mmc configs under CONFIG_SPL_BUILD
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 12 May 2017 11:48:21 +0000 (17:18 +0530)
committerStefano Babic <sbabic@denx.de>
Wed, 31 May 2017 08:21:38 +0000 (10:21 +0200)
- CONFIG_SYS_FSL_USDHC_NUM
- CONFIG_SYS_FSL_ESDHC_ADDR

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
include/configs/imx6qdl_icore.h
include/configs/imx6qdl_icore_rqs.h
include/configs/imx6ul_geam.h
include/configs/imx6ul_isiot.h

index 741bdfa80750e66d014005e17ab7f3afc9e3f899..1fc418ed0d5855aa8a8c1f0fae91738937fe9ca6 100644 (file)
 /* MMC */
 #ifdef CONFIG_FSL_USDHC
 # define CONFIG_SYS_MMC_ENV_DEV                0
-# define CONFIG_SYS_FSL_USDHC_NUM      1
-# define CONFIG_SYS_FSL_ESDHC_ADDR     0
 #endif
 
 /* NAND */
 
 # include "imx6_spl.h"
 # ifdef CONFIG_SPL_BUILD
+#  define CONFIG_SYS_FSL_USDHC_NUM     1
+#  define CONFIG_SYS_FSL_ESDHC_ADDR    0
 #  undef CONFIG_DM_GPIO
 #  undef CONFIG_DM_MMC
 # endif
index f52865b5a07dedb1e563a63439c99903e2c147e4..f36a6c69365a0b57e7cb0829a5aa21d612a122e8 100644 (file)
 /* MMC */
 #ifdef CONFIG_FSL_USDHC
 # define CONFIG_SYS_MMC_ENV_DEV                0
-# define CONFIG_SYS_FSL_USDHC_NUM      2
-# define CONFIG_SYS_FSL_ESDHC_ADDR     0
 #endif
 
 /* Ethernet */
 /* SPL */
 #ifdef CONFIG_SPL
 # define CONFIG_SPL_MMC_SUPPORT
+
 # include "imx6_spl.h"
 # ifdef CONFIG_SPL_BUILD
+#  define CONFIG_SYS_FSL_USDHC_NUM     2
+#  define CONFIG_SYS_FSL_ESDHC_ADDR    0
 #  undef CONFIG_DM_GPIO
 #  undef CONFIG_DM_MMC
 # endif
index 2e12b977676ffb75a69362403d03e978dd8a0b63..73b42390b8cd0dbf8bbbd8561689980e142555d3 100644 (file)
 /* MMC */
 #ifdef CONFIG_FSL_USDHC
 # define CONFIG_SYS_MMC_ENV_DEV                0
-# define CONFIG_SYS_FSL_USDHC_NUM      1
-# define CONFIG_SYS_FSL_ESDHC_ADDR     0
 #endif
 
 /* NAND */
 
 # include "imx6_spl.h"
 # ifdef CONFIG_SPL_BUILD
+#  define CONFIG_SYS_FSL_USDHC_NUM     1
+#  define CONFIG_SYS_FSL_ESDHC_ADDR    0
 #  undef CONFIG_DM_GPIO
 #  undef CONFIG_DM_MMC
 # endif
index 76ae159da3c97e6c3b4df1289701b942c09cddc8..d262e82210d9d455726bec0002b5005a99d14ed9 100644 (file)
 /* MMC */
 #ifdef CONFIG_FSL_USDHC
 # define CONFIG_SYS_MMC_ENV_DEV                0
-# define CONFIG_SYS_FSL_USDHC_NUM      2
-# define CONFIG_SYS_FSL_ESDHC_ADDR     0
 #endif
 
 /* NAND */
 
 # include "imx6_spl.h"
 # ifdef CONFIG_SPL_BUILD
+#  define CONFIG_SYS_FSL_USDHC_NUM     2
+#  define CONFIG_SYS_FSL_ESDHC_ADDR    0
 #  undef CONFIG_DM_GPIO
 #  undef CONFIG_DM_MMC
 # endif