spi: nxp-fspi: reset the FLSHxCR1 registers
authorHan Xu <han.xu@nxp.com>
Wed, 6 Sep 2023 18:32:54 +0000 (13:32 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:56:54 +0000 (14:56 +0200)
commit84592ec591be7d6b03180c389d5a81dea09fabb5
treec0be770d79488803b38eda5cd1d5c558d36e34e7
parentd5ae9d9f0c4132d68add52054e471be15b1d433b
spi: nxp-fspi: reset the FLSHxCR1 registers

[ Upstream commit 18495676f7886e105133f1dc06c1d5e8d5436f32 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-nxp-fspi.c