
Hi Boris,
Boris Brezillon boris.brezillon@bootlin.com wrote on Thu, 29 Nov 2018 00:59:42 +0100:
On Thu, 29 Nov 2018 00:07:58 +0100 Miquel Raynal miquel.raynal@bootlin.com wrote:
Defconfigs have been fixed, now we can add proper dependencies in Kconfig.
Signed-off-by: Miquel Raynal miquel.raynal@bootlin.com
cmd/Kconfig | 8 +++++++- drivers/mtd/Kconfig | 1 + 2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig index e2973b3c51..717e814c56 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -868,6 +868,7 @@ config CMD_MMC_SWRITE
config CMD_MTD bool "mtd"
- depends on MTD select MTD_PARTITIONS help MTD commands support.
@@ -875,6 +876,7 @@ config CMD_MTD config CMD_NAND bool "nand" default y if NAND_SUNXI
- depends on MTD_RAW_NAND help NAND support.
@@ -915,6 +917,7 @@ config CMD_MMC_SPI
config CMD_ONENAND bool "onenand - access to onenand device"
- depends on MTD help OneNAND is a brand of NAND ('Not AND' gate) flash which provides various useful features. This command allows reading, writing,
@@ -1014,9 +1017,11 @@ config CMD_SDRAM
config CMD_SF bool "sf"
- depends on MTD
The SF cmd completely bypasses the MTD framework, so this one is not needed (yet).
Sadly, yes.
Ok I will remove any kind of new dependency on MTD for SF.
Thanks, Miquèl