diff options
author | Jakub Czapiga <czapiga@google.com> | 2025-07-25 15:25:42 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-07-25 15:44:36 +0300 |
commit | 87aa3c8d8c4aa2e2567fe04126d14eb9fde815e5 (patch) | |
tree | 0d74573b14f2822b57a54623acf3a05b3683b8e6 /scripts/lib/kdoc/kdoc_parser.py | |
parent | f54b69a57a77c301a1013a22257357d9294a1fdc (diff) | |
download | linux-87aa3c8d8c4aa2e2567fe04126d14eb9fde815e5.tar.xz |
spi: intel: Allow writeable MTD partition with module param
The MTD device is blocked from writing to the SPI-NOR chip if any region
of it is write-protected, even if "writeable=1" module parameter is set.
Add ability to bypass this behaviour by introducing new module parameter
"ignore_protestion_status" which allows to rely on the write protection
mechanism of SPI-NOR chip itself, which most modern chips (since
the 1990'+) have already implemented.
Any erase/write operations performed on the write-protected section will
be rejected by the chip.
Signed-off-by: Jakub Czapiga <czapiga@google.com>
Link: https://patch.msgid.link/20250725122542.2633334-1-czapiga@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions