projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e2bcda
)
mtd: spinand: macronix: Use random program load
author
Mason Yang
<masonccyang@mxic.com.tw>
Thu, 16 Dec 2021 11:16:37 +0000
(12:16 +0100)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Sun, 23 Jan 2022 11:36:22 +0000
(12:36 +0100)
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
drivers/mtd/nand/spi/macronix.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/spi/macronix.c
b/drivers/mtd/nand/spi/macronix.c
index
3f31f13
..
dce8351
100644
(file)
--- a/
drivers/mtd/nand/spi/macronix.c
+++ b/
drivers/mtd/nand/spi/macronix.c
@@
-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(
tru
e, 0, NULL, 0));
+ SPINAND_PROG_LOAD(
fals
e, 0, NULL, 0));
static SPINAND_OP_VARIANTS(update_cache_variants,
SPINAND_PROG_LOAD_X4(false, 0, NULL, 0),