Re: [RFC PATCH 0/3] mtd: spi-nor: Rework flash parameter initialization
"Michael Walle" <[email protected]>
| Newsgroups | org.infradead.lists.linux-mtd,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Mon Jul 6, 2026 at 8:24 AM CEST, Miquel Raynal wrote: > On Mon, 01 Jun 2026 14:52:42 +0200, Michael Walle wrote: >> Try to simplify the flash initialization and get rid of the legacy >> handling. As default, all the flags of the in-kernel database are >> taken and amended with the SFDP data. >> >> This might have the consequence that all the flashes now get a >> RDSFPD opcode which might be an unknown opcode. But that was already >> the case for any flashes which were unknown to the linux kernel. So >> far, there was not a single complaint. >> >> [...] > > Applied to mtd/fixes, thanks! > > [1/3] mtd: spi-nor: spansion: s25fl256s0: remove SKIP_SFDP flag > (no commit info) > [2/3] mtd: spi-nor: don't clear the SNOR_F_4B_OPCODES flag on failure > (no commit info) > [3/3] mtd: spi-nor: rework flash parameter initialization > (no commit info) > > Patche(s) should be available on mtd/linux.git and will be > part of the next PR (provided that no robot complains by then). Did you see, that there was a v1 of this series? There wasn't many changes for these three patches. Just what Tudor mentioned that the unsupported RDSFDP opcode should be mentioned in the commit message, too. Apart from that, the series now includes fixes that Sashiko found, that is, the rollback in case of a failed SFDP parsing is broken. I can also rebase that on top of these three patches. -michael ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
signature.asc
(application/pgp-signature, 297 B)
-----BEGIN PGP SIGNATURE----- iKgEABMJADAWIQTIVZIcOo5wfU/AngkSJzzuPgIf+AUCaktaUxIcbXdhbGxlQGtl cm5lbC5vcmcACgkQEic87j4CH/hjSQF/WHZ+eUDa7zpaqSEal9vD7Tc3gtkuz3/V 8bxySWZd+JSuc3Mi9DjnGIQzVrVUtUZCAX9TsmwU0BluqCa8RnhLB22NJWhZQqec Tc2yxtsvdKAfiBEoCOK+I2z6gp5KeIwoiqM= =+69i -----END PGP SIGNATURE-----