diff options
| author | 2026-07-13 11:11:45 +0200 | |
|---|---|---|
| committer | 2026-09-04 10:29:55 +0200 | |
| commit | d20029474a76a06a2a92427453c2326cc3e98dfa (patch) | |
| tree | d92e9d7f9964000188b1ab62c99cc8de68e788eb /scripts/Makefile.thinlto | |
| parent | mtd: spi-nor: spansion: s25fs256t: move ARCFN check into .late_init (diff) | |
mtd: spi-nor: push the rollback mechanism into the sfdp module
Right now, the core is handling the rollback of the parameters. But it
doesn't have the knowledge what has to be rolled back. And in fact,
havent rolled back everything. Push it down to the called function and
make it mandatory, that this function has no side effects if it fails.
Funny enough, there is a comment in the SFDP table handling code that
each table parser is responsible to roll back any changes. But none of
them did. So while add it, expand the logic to that and roll it back for
them. There is one simple rule though:
SFDP parsing and fixups may only modify the spi_nor_flash_parameters.
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Michael Walle <mwalle@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
