#define CONFIG_SYS_FSL_IFC_BANK_COUNT 4
#endif
-#define FSL_IFC_V1_1_0 0x01010000
#define MAX_BANKS CONFIG_SYS_FSL_IFC_BANK_COUNT
#define ERR_BYTE 0xFF /* Value returned for read bytes
when read failed */
if (ret)
return ret;
+ if (ver >= FSL_IFC_V2_0_0)
+ priv->bufnum_mask = (priv->bufnum_mask * 2) + 1;
+
ret = nand_scan_ident(mtd, 1, NULL);
if (ret)
return ret;