mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
mtd: spinand: macronix: Use random program load
Macronix SPI-NAND chips might benefit from an external ECC engine. Such an engine might need to access random columns, thus needing to use random commands (0x84 instead of 0x02). Signed-off-by: Mason Yang <masonccyang@mxic.com.tw> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20211216111654.238086-12-miquel.raynal@bootlin.com
This commit is contained in:
parent
3e2bcda631
commit
1d46963d45
|
|
@ -20,7 +20,7 @@ static SPINAND_OP_VARIANTS(read_cache_variants,
|
|||
|
||||
static SPINAND_OP_VARIANTS(write_cache_variants,
|
||||
SPINAND_PROG_LOAD_X4(true, 0, NULL, 0),
|
||||
SPINAND_PROG_LOAD(true, 0, NULL, 0));
|
||||
SPINAND_PROG_LOAD(false, 0, NULL, 0));
|
||||
|
||||
static SPINAND_OP_VARIANTS(update_cache_variants,
|
||||
SPINAND_PROG_LOAD_X4(false, 0, NULL, 0),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user