ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
[openwrt.git] / target / linux / generic / patches-3.1 / 475-mtd_cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch
1 From: George Kashperko <george@znau.edu.ua>
2
3 Issue map read after Write Buffer Load command to ensure chip is ready
4 to receive data.
5 Signed-off-by: George Kashperko <george@znau.edu.ua>
6 ---
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 @@ -1412,6 +1412,7 @@ static int __xipram do_write_buffer(stru
12
13 /* Write Buffer Load */
14 map_write(map, CMD(0x25), cmd_adr);
15 + (void) map_read(map, cmd_adr);
16
17 chip->state = FL_WRITING_TO_BUFFER;
18
This page took 0.038485 seconds and 5 git commands to generate.