mx6memcal: Finish migration to defconfig options
authorTom Rini <trini@konsulko.com>
Tue, 26 May 2020 19:06:13 +0000 (15:06 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 4 Jun 2020 19:05:45 +0000 (15:05 -0400)
The config header for this platform uses '#undef' in a number of cases.
All of the MMC related ones were already handled correctly in the
defconfig file.  In the case of CONFIG_CMD_FUSE, the command was being
built and enabled via defconfig.  Disable it in the defconfig, cleanup
the header.

Reviewed-by: Eric Nelson <eric@nelint.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
configs/mx6memcal_defconfig
include/configs/mx6memcal.h

index 8b5e0ff9b13475ce1f5215f7981da2da29ff4fb5..ed24b7996b6b9835adafb953e0af9fe2a25a9ff7 100644 (file)
@@ -33,6 +33,7 @@ CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_SYS_MEMTEST_START=0x10000000
 CONFIG_SYS_MEMTEST_END=0x20000000
 CONFIG_CMD_MEMTEST=y
 CONFIG_SYS_MEMTEST_START=0x10000000
 CONFIG_SYS_MEMTEST_END=0x20000000
+# CONFIG_CMD_FUSE is not set
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_CACHE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_CACHE=y
index 3d79a7e43765aebed657f3a33526b1ed4bd6423e..b774b167f648da7d78835ba62deb4a93e95dde3c 100644 (file)
 #include "mx6_common.h"
 #include "imx6_spl.h"
 
 #include "mx6_common.h"
 #include "imx6_spl.h"
 
-#undef CONFIG_MMC
-#undef CONFIG_SPL_MMC_SUPPORT
-#undef CONFIG_GENERIC_MMC
-#undef CONFIG_CMD_FUSE
-
 #define CONFIG_SYS_MALLOC_LEN          (64 * 1024 * 1024)
 
 #define CONFIG_MXC_UART
 #define CONFIG_SYS_MALLOC_LEN          (64 * 1024 * 1024)
 
 #define CONFIG_MXC_UART