drivers: rk_nand: fix some NAND FLASH initialization failed issue

There are two sets of NAND flash drivers. The NAND flash state needs
to be restored to the default value after detection.

bug:
[    2.722218] No.1 FLASH ID:45 3a 94 93 76 51
[    2.726295] toshiba RR 18 row=400,count 18,status=-1
[    2.726353] flash_read_page_en 0 400 error_ecc -1 1

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I80c95a68ad900e0653684ba3978e59102d27bf70
This commit is contained in:
Yifeng Zhao
2021-03-15 09:29:23 +08:00
committed by Tao Huang
parent 6e04278ece
commit f1be951d1b

File diff suppressed because it is too large Load Diff