kernel: backport support for w25q64 flash chips - fixes flash detection on new Ubiqui...
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.32 / 091-mtd-m25p80-add-w25q64-chip-support.patch
1 --- a/drivers/mtd/devices/m25p80.c
2 +++ b/drivers/mtd/devices/m25p80.c
3 @@ -690,6 +690,7 @@ static struct flash_info __devinitdata m
4         { "w25x32", 0xef3016, 0, 64 * 1024, 64, SECT_4K, },
5         { "w25q32", 0xef4016, 0, 64 * 1024, 64, SECT_4K, },
6         { "w25x64", 0xef3017, 0, 64 * 1024, 128, SECT_4K, },
7 +       { "w25q64", 0xef4017, 0, 64 * 1024, 128, SECT_4K, },
8  };
9  
10  static struct flash_info *__devinit jedec_probe(struct spi_device *spi)