[PATCH v3 2/3] mtd: rawnand: Add Cortina CS7542 controller support

Fil Dunsky filipp.dunsky at gmail.com
Wed Nov 25 10:39:08 PST 2026


Hi,

This repeats the EXTADDR question discussed for v2:
https://lore.kernel.org/all/179546920557.4112741.10222765658884997584@gmail.com/

I compared the generic cs752x_nand_pio() function in v2 and v3; it is
byte-identical. It supplies all NAND address cycles through ADDRESS_1/_2.
Both vendor GPL drivers explicitly clear EXTADDR for erase and OOB
register-PIO transfers, while using the full row address.

The earlier read-only hardware comparison used non-erased OOB data at
0x08600000, 0x10600000 and 0x18600000. Full raw page+OOB reads, with
EXTADDR set, matched OOB-only exec_op reads, with EXTADDR zero. Each
upper-bank result differed from the lower-bank alias. The new v3 cover
also records a fresh native RAM UBI program/erase test and preservation
checks after return to OpenWrt. This does not claim OOB-only program
coverage.

I have queued a comment explaining the vendor register-PIO convention.
I do not see evidence for changing the bank field on this path.

Thanks,
Fil



More information about the linux-mtd mailing list