linux/drivers/mtd/nand
Md Sadre Alam f60f574100 mtd: rawnand: qcom: Update code word value for raw read
From QPIC V2 onwards there is a separate register to read
last code word "QPIC_NAND_READ_LOCATION_LAST_CW_n".

qcom_nandc_read_cw_raw() is used to read only one code word
at a time. If we will configure number of code words to 1 in
in QPIC_NAND_DEV0_CFG0 register then QPIC controller thinks
its reading the last code word, since from QPIC V2 onwards
we are having separate register to read the last code word,
we have to configure "QPIC_NAND_READ_LOCATION_LAST_CW_n"
register to fetch data from controller buffer to system
memory.

Fixes: 503ee5aad4 ("mtd: rawnand: qcom: update last code word register")
Cc: stable@kernel.org
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1630998357-1359-1-git-send-email-mdalam@codeaurora.org
2021-09-14 19:36:00 +02:00
..
onenand mtd: core: Constify buf in mtd_write_user_prot_reg() 2021-04-16 20:30:54 +02:00
raw mtd: rawnand: qcom: Update code word value for raw read 2021-09-14 19:36:00 +02:00
spi mtd: spinand: macronix: Add Quad support for serial NAND flash 2021-08-17 10:42:00 +02:00
bbt.c mtd: nand: bbt: Fix corner case in bad block table handling 2021-05-10 18:20:54 +02:00
core.c mtd: nand: Add helpers to manage ECC engines and configurations 2020-12-10 22:37:30 +01:00
ecc-sw-bch.c mtd: nand: ecc-bch: Use the public nsteps field 2021-03-11 09:37:28 +01:00
ecc-sw-hamming.c mtd: nand: ecc-hamming: Use the public nsteps field 2021-03-11 09:37:28 +01:00
ecc.c mtd: spinand: Allow the case where there is no ECC engine 2020-12-10 22:37:30 +01:00
Kconfig mtd: nand: Change dependency between the NAND and ECC cores 2020-12-10 22:37:32 +01:00
Makefile mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00