diff options
author | Pratyush Yadav <p.yadav@ti.com> | 2025-07-08 17:16:46 +0800 |
---|---|---|
committer | Pratyush Yadav <pratyush@kernel.org> | 2025-09-01 16:11:55 +0200 |
commit | 17926cd770ec837ed27d9856cf07f2da8dda4131 (patch) | |
tree | b8b21e0cd05e694f719328e96d66c45a70b7888d /scripts/lib/kdoc/kdoc_parser.py | |
parent | f156b23df6a84efb2f6686156be94d4988568954 (diff) |
mtd: spi-nor: core: avoid odd length/address writes in 8D-8D-8D mode
On Octal DTR capable flashes like Micron Xcella the writes cannot start
or end at an odd address in Octal DTR mode. Extra 0xff bytes need to be
appended or prepended to make sure the start address and end address are
even. 0xff is used because on NOR flashes a program operation can only
flip bits from 1 to 0, not the other way round. 0 to 1 flip needs to
happen via erases.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20250708091646.292-2-ziniu.wang_1@nxp.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions