1
0
Fork 0

nand: raw: workaround for EDO high speed mode

Found issue for EDO high speed mode, set to low speed mode as a
workaround.

Signed-off-by: Han Xu <han.xu@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Han Xu 2019-08-15 21:45:50 -05:00 committed by Dong Aisheng
parent 591cc4604b
commit b808b78709
1 changed files with 2 additions and 1 deletions

View File

@ -930,7 +930,8 @@ static int nand_init_data_interface(struct nand_chip *chip)
modes = GENMASK(chip->onfi_timing_mode_default, 0);
}
for (mode = fls(modes) - 1; mode >= 0; mode--) {
/* for (mode = fls(modes) - 1; mode >= 0; mode--) { */
for (mode = 1; mode >= 0; mode--) {
ret = onfi_fill_data_interface(chip, NAND_SDR_IFACE, mode);
if (ret)
continue;