summaryrefslogtreecommitdiff
path: root/include/configs/evb_rk3399.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/evb_rk3399.h')
-rw-r--r--include/configs/evb_rk3399.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h
index b9c4d683f4..c0b0358893 100644
--- a/include/configs/evb_rk3399.h
+++ b/include/configs/evb_rk3399.h
@@ -8,7 +8,9 @@
#include <configs/rk3399_common.h>
-#define CONFIG_SYS_MMC_ENV_DEV 0
+#if defined(CONFIG_ENV_IS_IN_MMC)
+# define CONFIG_SYS_MMC_ENV_DEV 0
+#endif
#define SDRAM_BANK_SIZE (2UL << 30)