summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mmc_env.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mmc_env.c')
-rw-r--r--arch/arm/mach-imx/mmc_env.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mmc_env.c b/arch/arm/mach-imx/mmc_env.c
index 7012ae9d7b..0c2987dece 100644
--- a/arch/arm/mach-imx/mmc_env.c
+++ b/arch/arm/mach-imx/mmc_env.c
@@ -10,6 +10,10 @@
#include <asm/mach-imx/boot_mode.h>
#include <env.h>
+#ifndef CONFIG_SYS_MMC_ENV_DEV
+#define CONFIG_SYS_MMC_ENV_DEV 0
+#endif
+
__weak int board_mmc_get_env_dev(int devno)
{
return devno;