[PATCH] mtd: rawnand: pl35x: Fix BBT write operations by adding pure data out pattern
Rafal Vonau
rafal.vonau at gmail.com
Tue Jul 1 03:03:15 PDT 2025
The PL35x NAND controller driver was failing to write Bad Block Tables
due to missing support for pure data out operations. When the NAND subsystem
attempted to write BBT data using just DATA_OUT commands without preceding
address cycles or commands, the operation parser failed to match any pattern.
This patch:
Adds a dedicated execution function for pure data out operations
Includes a new pattern in the op parser for DATA_OUT only operation
The fix maintains proper separation of concerns where:
Command sequences are handled by nand_prog_page_begin_op/end_op
Data writing is handled by the controller's data out operation
BBT writes now complete successfully
Tested on Xilinx Zynq with Micron MT29F2G08ABBEAH4 NAND flash.
Signed-off-by: Rafal Vonau <rafal.vonau at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zynq-pl35x-bbt-patch.patch
Type: text/x-patch
Size: 1721 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20250701/43b3fc3e/attachment-0001.bin>
More information about the linux-mtd
mailing list