MLK-20171: mtd: flexspi: reset flexspi FLASHxCR2 registers during probe
authorHan Xu <han.xu@nxp.com>
Thu, 1 Nov 2018 20:01:27 +0000 (15:01 -0500)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit3fa43132307f744af98a668b6d6ae7a6487c5e18
tree0c7cdb4e1611b4fd366799afed48b7207f872b40
parentb5d1f9f1b9a5216b92b4e84abe0ebb82752db273
MLK-20171: mtd: flexspi: reset flexspi FLASHxCR2 registers during probe

Flexspi registers cannot be reset to default value, reset all FLASHxCR2
registers to 0 to avoid read data with invalid LUT commands.

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/mtd/spi-nor/fsl-flexspi.c