1 --- a/drivers/mtd/chips/cfi_cmdset_0001.c
2 +++ b/drivers/mtd/chips/cfi_cmdset_0001.c
4 /* #define CMDSET0001_DISABLE_WRITE_SUSPEND */
6 // debugging, turns off buffer write mode if set to 1
7 -#define FORCE_WORD_WRITE 0
9 +# define FORCE_WORD_WRITE 1
11 +# define FORCE_WORD_WRITE 0
15 #define I82802AB 0x00ad
16 @@ -1494,6 +1498,9 @@ static int __xipram do_write_oneword(str
20 +#ifdef CONFIG_IFXMIPS
26 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
27 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
28 @@ -1068,7 +1068,9 @@ static int __xipram do_write_oneword(str
33 +#ifdef CONFIG_IFXMIPS
36 spin_lock(chip->mutex);
37 ret = get_chip(map, chip, adr, FL_WRITING);