diff options
author | Abhishek Sahu <absahu@codeaurora.org> | 2018-06-20 12:57:37 +0530 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 09:24:08 +0200 |
commit | 28eed9f6cab6ab28cdca4a43df4f8ed51dd5f8f8 (patch) | |
tree | dc38ba15d5f4c7b950db0f62dfac3a9ca21f41a5 /drivers/nvmem/vf610-ocotp.c | |
parent | add0cfa3c3e51149c2101765edf05c548ba5f2ee (diff) |
mtd: rawnand: qcom: modify write_oob to remove read codeword part
QCOM NAND controller layout protects available OOB data bytes with
ECC also so when ecc->write_oob() is being called then it
can't update just OOB bytes. Currently, it first reads the last
codeword which includes old OOB bytes. Then it updates the old OOB
bytes with new ones and then again writes the codeword back.
The reading codeword is unnecessary since user is responsible to
have these bytes cleared to 0xFF.
This patch removes the read part and updates the OOB bytes with
data area padded with OxFF.
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/nvmem/vf610-ocotp.c')
0 files changed, 0 insertions, 0 deletions