From: "Marek Behún" <marek.behun@nic.cz>
To: Patrick Delaunay <patrick.delaunay@foss.st.com>,
Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de, "Priyanka Jain" <priyanka.jain@nxp.com>,
"Heiko Schocher" <hs@denx.de>,
"Jagan Teki" <jagan@amarulasolutions.com>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Christophe KERELLO" <christophe.kerello@foss.st.com>,
"Patrice Chotard" <patrice.chotard@foss.st.com>,
"Pali Rohár" <pali@kernel.org>, "Vignesh R" <vigneshr@ti.com>,
"U-Boot STM32" <uboot-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH v3 2/2] mtd: spi: nor: force mtd name to "nor%d"
Date: Thu, 16 Sep 2021 17:00:28 +0200 [thread overview]
Message-ID: <20210916170028.28005d26@thinkpad> (raw)
In-Reply-To: <20210916155040.v3.2.Ia461e670c7438478aa8f8939209d45c818ccd284@changeid>
Hi Marek, Patrick,
the patches that made this change also include patch
https://source.denx.de/u-boot/u-boot/-/commit/dcb9a80359d699cf659c95b9b6e6604e2d68adb9
This patch was added so that when there are multiple identical SPI-NOR
chips on the board, you can still select between them in the `mtd`
command via the OF path. That's why the `mtd list` command lists OF
path.
In the discussion with Tom, we also were talking about backwards
compatibility with mtdparts, and if I remember correctly, the
conclusion was that mtdparts is deprecated:
- many configs with MTDPARTS can now be converted to define the
partitions via OF
- the remaining which can't need their mtd driver updated
Afterwards there will be no need for mtdpart.
I think this is the correct solution here. Not the one where we are
returning back to the "norN" names.
Marek
next prev parent reply other threads:[~2021-09-16 15:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-16 14:01 [PATCH v3 0/2] mtd: spi: nor: force mtd name to "nor%d" Patrick Delaunay
2021-09-16 14:01 ` [PATCH v3 1/2] mtd: cfi_flash: use cfi_flash_num_flash_banks only when supported Patrick Delaunay
2021-09-16 17:24 ` Marek Vasut
2021-09-17 10:55 ` Patrick DELAUNAY
2021-09-17 13:36 ` Marek Vasut
2021-09-21 12:38 ` Patrick DELAUNAY
2021-09-16 14:01 ` [PATCH v3 2/2] mtd: spi: nor: force mtd name to "nor%d" Patrick Delaunay
2021-09-16 14:49 ` Marek Behún
2021-09-16 15:00 ` Marek Behún [this message]
2021-09-16 17:27 ` Marek Vasut
2021-09-17 13:06 ` Patrick DELAUNAY
2021-09-17 13:39 ` Marek Vasut
2021-09-16 17:43 ` [PATCH v3 0/2] " Marek Vasut
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=20210916170028.28005d26@thinkpad \
--to=marek.behun@nic.cz \
--cc=christophe.kerello@foss.st.com \
--cc=hs@denx.de \
--cc=jagan@amarulasolutions.com \
--cc=marex@denx.de \
--cc=miquel.raynal@bootlin.com \
--cc=pali@kernel.org \
--cc=patrice.chotard@foss.st.com \
--cc=patrick.delaunay@foss.st.com \
--cc=priyanka.jain@nxp.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-stm32@st-md-mailman.stormreply.com \
--cc=vigneshr@ti.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox