diff options
| author | Eliav Farber <farbere@amazon.com> | 2026-02-18 14:35:22 +0000 |
|---|---|---|
| committer | Pratyush Yadav (Google) <pratyush@kernel.org> | 2026-03-30 15:00:34 +0000 |
| commit | 760e8c382c2de149b84e69fb60cccc32f6725a3f (patch) | |
| tree | b56eeceba5d645f4afb164e44d77d7434757cc94 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a0f64241d3566a49c0a9b33ba7ae458ae22003a9 (diff) | |
mtd: spi-nor: winbond: Fix locking support for w25q256jw
The Winbond w25q256jw device:
- Supports lock/unlock via SR.
- Has Top/Bottom (TB) protect bit.
- Uses Status Register bit 6 as the Top/Bottom (TB) protect bit.
- Supports four Block Protect (BP) bits.
Update the flash parameters by enabling SPI_NOR_HAS_LOCK, SPI_NOR_HAS_TB,
SPI_NOR_TB_SR_BIT6 and SPI_NOR_4BIT_BP. Without these flags, the locking
configuration is incorrect.
Reference:
https://www.winbond.com/hq/support/documentation/levelOne.jsp?__locale=en&DocNo=DA00-W25Q256JW.1
Signed-off-by: Eliav Farber <farbere@amazon.com>
Reviewed-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Pratyush Yadav (Google) <pratyush@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
