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
parent
591cc4604b
commit
b808b78709
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue