Disable erase suspend for CFI NOR flash chips

During SpaceCast software development where the rootfs images
was put into the NOR flash, we observed "MTD get_chip(): chip not
ready after erase suspend" error. This resulted in a reboot loop.
For now, we apply OpenWRT patch from
https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-3.19/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch
to disable the flash erase suspend. This avoids the "chip not
ready after erase suspend" error.

Change-Id: I8e4ef566692fc3772c03a67b190521aba2008434
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index 590fb26..14ee551 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -687,7 +687,9 @@
 		return 0;
 
 	case FL_ERASING:
-		if (!cfip || !(cfip->EraseSuspend & (0x1|0x2)) ||
+		// Apply OpenWRT patch from
+		// https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-3.19/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch
+		if (1 /* no suspend */ || !cfip || !(cfip->EraseSuspend & (0x1|0x2)) || 
 		    !(mode == FL_READY || mode == FL_POINT ||
 		    (mode == FL_WRITING && (cfip->EraseSuspend & 0x2))))
 			goto sleep;