summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.9/010-mtd_mp25p80_add_gd25q32_gd25q64.patch
blob: 3488b4caf44a144e92723dc510fac449f603be60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -736,6 +736,10 @@ static const struct spi_device_id m25p_i
 	{ "gd25q32", INFO(0xc84016, 0, 64 * 1024,  64, SECT_4K) },
 	{ "gd25q64", INFO(0xc84017, 0, 64 * 1024, 128, SECT_4K) },
 
+	/* GigaDevice */
+	{ "gd25q32", INFO(0xc84016, 0, 64 * 1024,  64, SECT_4K) },
+	{ "gd25q64", INFO(0xc84017, 0, 64 * 1024, 128, SECT_4K) },
+
 	/* Intel/Numonyx -- xxxs33b */
 	{ "160s33b",  INFO(0x898911, 0, 64 * 1024,  32, 0) },
 	{ "320s33b",  INFO(0x898912, 0, 64 * 1024,  64, 0) },