add 3.7-rc6 support (patch 820 still has to be fixed)
[openwrt/staging/chunkeey.git] / target / linux / generic / patches-3.7 / 473-mtd_m25p80_add_w25q128.patch
1 --- a/drivers/mtd/devices/m25p80.c
2 +++ b/drivers/mtd/devices/m25p80.c
3 @@ -751,6 +751,7 @@ static const struct spi_device_id m25p_i
4 { "w25x64", INFO(0xef3017, 0, 64 * 1024, 128, SECT_4K) },
5 { "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },
6 { "w25q80", INFO(0xef5014, 0, 64 * 1024, 16, SECT_4K) },
7 + { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
8
9 /* Catalyst / On Semiconductor -- non-JEDEC */
10 { "cat25c11", CAT25_INFO( 16, 8, 16, 1) },