[U-Boot] [PATCH 1/3] evb-rk3128: Migrate CONFIG_ENV_IS_IN_MMC to defconfig

Tom Rini trini at konsulko.com
Mon Nov 11 02:19:08 UTC 2019


This board is setting CONFIG_ENV_IS_IN_MMC in the header rather than
defconfig, fix.

Cc: Kever Yang <kever.yang at rock-chips.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 configs/evb-rk3128_defconfig | 1 +
 include/configs/evb_rk3128.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/evb-rk3128_defconfig b/configs/evb-rk3128_defconfig
index ec2f143ddeca..cb3c5372aa81 100644
--- a/configs/evb-rk3128_defconfig
+++ b/configs/evb-rk3128_defconfig
@@ -17,6 +17,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TIME=y
 CONFIG_DEFAULT_DEVICE_TREE="rk3128-evb"
+CONFIG_ENV_IS_IN_MMC=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CLK=y
diff --git a/include/configs/evb_rk3128.h b/include/configs/evb_rk3128.h
index 73ceab03732a..bf6c7eaf4c19 100644
--- a/include/configs/evb_rk3128.h
+++ b/include/configs/evb_rk3128.h
@@ -8,7 +8,6 @@
 
 #include <configs/rk3128_common.h>
 
-#define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV 0
 
 #endif
-- 
2.17.1



More information about the U-Boot mailing list