1 From: George Kashperko <george@znau.edu.ua>
3 Issue map read after Write Buffer Load command to ensure chip is ready
5 Signed-off-by: George Kashperko <george@znau.edu.ua>
7 drivers/mtd/chips/cfi_cmdset_0002.c | 1 +
8 1 file changed, 1 insertion(+)
9 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
10 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
11 @@ -1409,6 +1409,7 @@ static int __xipram do_write_buffer(stru
13 /* Write Buffer Load */
14 map_write(map, CMD(0x25), cmd_adr);
15 + (void) map_read(map, cmd_adr);
17 chip->state = FL_WRITING_TO_BUFFER;