From: Miquel Raynal <miquel.raynal@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 22/24] cmd: make all MTD commands depend on MTD
Date: Tue, 4 Dec 2018 15:34:30 +0100 [thread overview]
Message-ID: <20181204153430.091fdcbe@xps13> (raw)
In-Reply-To: <20181129005942.656d664d@bbrezillon>
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
next prev parent reply other threads:[~2018-12-04 14:34 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-28 23:07 [U-Boot] [PATCH v2 00/24] MTD defconfigs/Kconfigs/Makefiles heavy cleanup Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 01/24] Makefile: move MTD-related lines in coherent Makefiles Miquel Raynal
2018-11-28 23:46 ` Boris Brezillon
2018-11-29 7:57 ` Miquel Raynal
2018-11-29 9:16 ` Miquel Raynal
2018-11-29 9:21 ` Boris Brezillon
2018-11-28 23:07 ` [U-Boot] [PATCH v2 02/24] mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 03/24] mtd: rename CONFIG_MTD -> CONFIG_DM_MTD Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 04/24] mtd: rename CONFIG_MTD_DEVICE -> CONFIG_MTD Miquel Raynal
2018-11-28 23:49 ` Boris Brezillon
2018-11-28 23:07 ` [U-Boot] [PATCH v2 05/24] mtd: ensure MTD is compiled when there is a NOR flash Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 06/24] mtd: ensure MTD/the raw NAND core are compiled when there is a NAND flash Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 07/24] mtd: ensure MTD is compiled when there is a SPI NOR flash Miquel Raynal
2018-11-28 23:52 ` Boris Brezillon
2018-11-29 8:06 ` Miquel Raynal
2018-12-04 14:35 ` Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 08/24] mtd: ensure UBI is compiled when using fastmap Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 09/24] mtd: ensure MTD is compiled when UBI is used Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 10/24] mtd: ensure UBI is compiled when CMD_UBI is selected Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 11/24] mtd: ensure UBI is compiled when ENV_IS_IN_UBI " Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 12/24] mtd: ensure MTD_RAW_NAND is compiled when ENV_IS_IN_NAND " Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 13/24] mtd: ensure MTD is compiled when ENV_IS_IN_FLASH " Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 14/24] mtd: ensure CMD_NAND is compiled when its options are selected Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 15/24] configs: remove raw NAND core from k2g defconfigs Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 16/24] configs: remove MTD support from bcm11130 and M54418TWR defconfigs Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 17/24] mtd: nand: add includes in NAND core to avoid warnings Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 18/24] mtd: rawnand: compile-in the NAND core Miquel Raynal
2018-11-28 23:57 ` Boris Brezillon
2018-12-04 14:33 ` Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 19/24] dfu: add dependency on " Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 20/24] mtd: nand: remove dependency on commands in Kconfig Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 21/24] mtd: ubi: remove dependency on command " Miquel Raynal
2018-11-28 23:07 ` [U-Boot] [PATCH v2 22/24] cmd: make all MTD commands depend on MTD Miquel Raynal
2018-11-28 23:59 ` Boris Brezillon
2018-12-04 14:34 ` Miquel Raynal [this message]
2018-11-28 23:07 ` [U-Boot] [PATCH v2 23/24] mtd: simplify Makefile Miquel Raynal
2018-11-28 23:08 ` [U-Boot] [PATCH v2 24/24] mtd: drop CONFIG_MTD_PARTITIONS Miquel Raynal
2018-11-29 0:05 ` Boris Brezillon
2018-12-04 14:49 ` Miquel Raynal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181204153430.091fdcbe@xps13 \
--to=miquel.raynal@bootlin.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.