diff options
| author | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-09-04 20:13:02 +0200 |
|---|---|---|
| committer | Michael Walle <mwalle@kernel.org> | 2026-09-07 09:45:22 +0200 |
| commit | 700bf34058ca7cd792236b1ba5caad3770d66208 (patch) | |
| tree | 23e618018d30a8d22a9c2c36b589f2e1913b8a70 /scripts/Makefile.thinlto | |
| parent | 4094a2fd562453cac04e909688af6620fbd3203f (diff) | |
| download | linux-next-700bf34058ca7cd792236b1ba5caad3770d66208.tar.gz linux-next-700bf34058ca7cd792236b1ba5caad3770d66208.zip | |
mtd: spi-nor: debugfs: Expose SR opcodes and QE mask
Expose Status Register opcodes based on the flash capabilities
discovered while parsing the SFDP QER field.
Value '0' indicates an absence of opcode (non supported), we do not
print anything in that case.
The QE bit is also displayed.
Example on a W25Q02JV-M:
$ grep opcodes -A10 /sys/kernel/debug/spi-nor/spi0.0/params
opcodes
read 0xec
dummy cycles 6
erase 0xdc
program 0x34
SR1 read 0x05
SR2 read 0x35
SR1+SR2 write 0x01
QE SR2 bit 1
8D extension none
Tested-by: Takahiro Kuwano <takahiro.kuwano@infineon.com>
Signed-off-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
