+@@ -42,6 +42,7 @@
+ #define OPCODE_BE_4K 0x20 /* Erase 4KiB block */
+ #define OPCODE_BE_32K 0x52 /* Erase 32KiB block */
+ #define OPCODE_CHIP_ERASE 0xc7 /* Erase whole flash chip */
++#define OPCODE_BE_4K_ALT 0xd7 /* Erase 4KiB block */
+ #define OPCODE_SE 0xd8 /* Sector erase (usually 64KiB) */
+ #define OPCODE_RDID 0x9f /* Read JEDEC ID */
+
+@@ -599,6 +600,7 @@ struct flash_info {
+
+ u16 flags;
+ #define SECT_4K 0x01 /* OPCODE_BE_4K works uniformly */
++#define SECT_4K_ALT 0x02 /* OPCODE_BE_4K_ALT works uniformly */
+ };
+
+
+@@ -626,6 +628,10 @@ static struct flash_info __devinitdata m