From: Sascha Hauer <sha@pengutronix.de> To: Trent Piepho <tpiepho@gmail.com> Cc: barebox@lists.infradead.org Subject: Re: [PATCH v2] mtd: nand: Add help text for i.MX NAND controllers Date: Mon, 31 May 2021 09:14:27 +0200 Message-ID: <20210531071427.GE5211@pengutronix.de> (raw) In-Reply-To: <20210527083741.789109-1-tpiepho@gmail.com> On Thu, May 27, 2021 at 01:37:41AM -0700, Trent Piepho wrote: > There are two different NAND drivers, used for different chips in the > i.MX range. It's quite confusing as to which to use. Add some help > text to clarify. > > Signed-off-by: Trent Piepho <tpiepho@gmail.com> > --- > Changes from V1: > Add GPMI and NFC names, fix typos. Applied, thanks Sascha > > drivers/mtd/nand/Kconfig | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) > > diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig > index 7c9326089..8fb1cedd6 100644 > --- a/drivers/mtd/nand/Kconfig > +++ b/drivers/mtd/nand/Kconfig > @@ -32,14 +32,27 @@ config NAND_ALLOW_ERASE_BAD > > config NAND_IMX > bool > - prompt "i.MX NAND driver" > + prompt "i.MX21 to 53 NAND driver aka 'mxc', for NFC" > depends on ARCH_IMX > + help > + Support for NAND flash on Freescale/NXP i.MX devices. This is for the > + "MXC" series: i.MX21/25/27/31/35/51/53. > + > + This is not for the "MXS" series i.MX processors (23 & 28), or i.MX6 > + and later, which use the GPMI NAND controller from the MXS series. > + See the i.MX 'mxs' driver for those chips. > > config NAND_MXS > bool > select STMP_DEVICE > - prompt "i.MX23/28/6 NAND driver" > + prompt "i.MX23/28 & 6+ NAND driver aka 'mxs', for GPMI" > depends on MXS_APBH_DMA > + help > + Support for NAND flash on Freescale/NXP i.MX devices. This is for the > + "MXS" series: i.MX23/28 and all i.MX6 and later SoCs. > + > + This is not for the "MXC" series of i.MX processors in the i.MX21 to > + i.MX53 range. See the i.MX "mxc" driver for those chips. > > config NAND_OMAP_GPMC > tristate "NAND Flash Support for GPMC based OMAP platforms" > -- > 2.26.2 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2021-05-31 7:16 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-27 8:37 Trent Piepho 2021-05-31 7:14 ` Sascha Hauer [this message]
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=20210531071427.GE5211@pengutronix.de \ --to=sha@pengutronix.de \ --cc=barebox@lists.infradead.org \ --cc=tpiepho@gmail.com \ /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
mail archive of the barebox mailing list This inbox may be cloned and mirrored by anyone: git clone --mirror https://lore.barebox.org/barebox/0 barebox/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 barebox barebox/ https://lore.barebox.org/barebox \ barebox@lists.infradead.org barebox@lists.infradead.org public-inbox-index barebox Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git