summaryrefslogtreecommitdiff
path: root/include/configs/imx6ul_geam.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/imx6ul_geam.h')
-rw-r--r--include/configs/imx6ul_geam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/imx6ul_geam.h b/include/configs/imx6ul_geam.h
index 2e12b97767..73b42390b8 100644
--- a/include/configs/imx6ul_geam.h
+++ b/include/configs/imx6ul_geam.h
@@ -136,8 +136,6 @@
/* 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 */
@@ -187,6 +185,8 @@
# 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