[PATCH v3 2/2] mtd: spi: nor: force mtd name to "nor%d"
Marek Behún
marek.behun at nic.cz
Thu Sep 16 17:00:28 CEST 2021
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
More information about the U-Boot
mailing list