mtd: rawnand: qcom: Update register macro name for 0x2c offset
authorMd Sadre Alam <mdalam@codeaurora.org>
Sat, 30 Jan 2021 20:07:16 +0000 (01:37 +0530)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Mar 2021 08:37:29 +0000 (09:37 +0100)
commit0646493edd02e4c872b37258e4e248eb9df4f25b
tree48596b2540a0269061e4ec22cdb130ac746568ab
parentbf3816d28f0778de0d3d00a2a65525e19e5dbad2
mtd: rawnand: qcom: Update register macro name for 0x2c offset

This change will remove unused register name macro NAND_DEV1_ECC_CFG.
Since this register was only available in QPIC version 1.4.20 ipq40xx
and it was not used. In QPIC version 1.5 on wards this register got
removed.In QPIC version 2.0 0x2c offset is updated with register
NAND_AUTO_STATUS_EN So adding this register macro NAND_AUTO_STATUS_EN
with offset 0x2c.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1612037236-7954-1-git-send-email-mdalam@codeaurora.org
drivers/mtd/nand/raw/qcom_nandc.c