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/crs305-1g-4s_defconfig | 1 - 1 file changed, 1 deletion(-) (limited to 'configs/crs305-1g-4s_defconfig') diff --git a/configs/crs305-1g-4s_defconfig b/configs/crs305-1g-4s_defconfig index da77a78aa8f..cc3dea69871 100644 --- a/configs/crs305-1g-4s_defconfig +++ b/configs/crs305-1g-4s_defconfig @@ -41,7 +41,6 @@ CONFIG_NET_RETRY_COUNT=50 CONFIG_BOOTCOUNT_LIMIT=y CONFIG_BOOTCOUNT_ENV=y # CONFIG_MMC is not set -CONFIG_MTD=y CONFIG_DM_MTD=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_WINBOND=y -- cgit v1.2.3