From db04ff42c764329c12e96afc4d9f1acf4d44b6d4 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 10 Jan 2024 13:46:10 -0500 Subject: mtd: Make CONFIG_MTD be the gate symbol for the menu The help for CONFIG_MTD explains that it needs to be enabled for various things like NAND, etc to be available. It however then doesn't enforce this dependency and so if you have none of these systems present you still need to disable a number of options. Fix this by making places that select/imply one type of flash, but did not do the same, also do this for "MTD". Make boards which hadn't been enabling MTD already but need it now, do so. In a few places, disable CONFIG_CMD_MTDPARTS as it wasn't previously enabled but was now being implied. Signed-off-by: Tom Rini --- configs/mccmon6_sd_defconfig | 1 - 1 file changed, 1 deletion(-) (limited to 'configs/mccmon6_sd_defconfig') diff --git a/configs/mccmon6_sd_defconfig b/configs/mccmon6_sd_defconfig index e780591f09f..6088d08a87e 100644 --- a/configs/mccmon6_sd_defconfig +++ b/configs/mccmon6_sd_defconfig @@ -56,7 +56,6 @@ CONFIG_BOUNCE_BUFFER=y CONFIG_I2C_SET_DEFAULT_BUS_NUM=y CONFIG_SYS_I2C_MXC=y CONFIG_FSL_USDHC=y -CONFIG_MTD=y CONFIG_DM_MTD=y CONFIG_MTD_NOR_FLASH=y CONFIG_FLASH_CFI_DRIVER=y -- cgit v1.2.3