diff options
author | Michel Stempin <michel.stempin@wanadoo.fr> | 2013-01-05 18:39:36 -0500 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2013-02-04 02:26:29 -0500 |
commit | 55bf75b7dd8ec875d048824f3cdecf8254e292e5 (patch) | |
tree | e453aa5f14661c3c033576d81f1f07f5f3ea209d /drivers/mtd | |
parent | 62116e5171e00f85a8d53f76e45b84423c89ff34 (diff) |
mtd: chips: Add support for GigaDevice GD25Q32/GD25Q64 SPI Flash in m25p80.c
Add support for GigaDevice GD25Q32 32 Mbit (4 MB) SPI Flash (see datasheet:
http://www.gigadevice.com/UserFiles/GD25Q32_Rev0.2(1).pdf) used in Hame MPR-A1
and clones, and for GigaDevice GD25Q64 64 Mbit (8 MB) SPI Flash used in
Hame MPR-A2 devices (datasheet: http://www.gigadevice.com/UserFiles/GD25Q64.pdf).
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/devices/m25p80.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 069e34f909ed..5b6b0728be21 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c | |||
@@ -732,6 +732,10 @@ static const struct spi_device_id m25p_ids[] = { | |||
732 | /* Everspin */ | 732 | /* Everspin */ |
733 | { "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2) }, | 733 | { "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2) }, |
734 | 734 | ||
735 | /* GigaDevice */ | ||
736 | { "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64, SECT_4K) }, | ||
737 | { "gd25q64", INFO(0xc84017, 0, 64 * 1024, 128, SECT_4K) }, | ||
738 | |||
735 | /* Intel/Numonyx -- xxxs33b */ | 739 | /* Intel/Numonyx -- xxxs33b */ |
736 | { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) }, | 740 | { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) }, |
737 | { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) }, | 741 | { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) }, |