spi: nxp-fspi: reset the FLSHxCR1 registers
authorHan Xu <han.xu@nxp.com>
Wed, 6 Sep 2023 18:32:54 +0000 (13:32 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:23:59 +0000 (01:23 +0100)
commit18495676f7886e105133f1dc06c1d5e8d5436f32
treead9b14a80b920bb76763d8a67bd295d03b85bbe1
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
spi: nxp-fspi: reset the FLSHxCR1 registers

Reset the FLSHxCR1 registers to default value. ROM may set the register
value and it affects the SPI NAND normal functions.

Signed-off-by: Han Xu <han.xu@nxp.com>
Link: https://lore.kernel.org/r/20230906183254.235847-1-han.xu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-nxp-fspi.c