summaryrefslogtreecommitdiff
path: root/cleopatre/linux-2.6.25.10-spc300
diff options
context:
space:
mode:
authorJulien Lacour2012-06-06 14:59:54 +0200
committerCyril Jourdan2012-09-20 16:56:15 +0200
commit6b3b9edb03ad4f8ac27a0e95377d3b47479ff94e (patch)
treecf4df6abb882c05747ac04ce7f748cc27e6af73b /cleopatre/linux-2.6.25.10-spc300
parentb4662244fc1c607f074d27cab470fb32903b41ad (diff)
cleo/{linux/drivers/mtd/, tools/openocd-r668/}: Support new flashes
Diffstat (limited to 'cleopatre/linux-2.6.25.10-spc300')
-rw-r--r--cleopatre/linux-2.6.25.10-spc300/drivers/mtd/devices/m25p80.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cleopatre/linux-2.6.25.10-spc300/drivers/mtd/devices/m25p80.c b/cleopatre/linux-2.6.25.10-spc300/drivers/mtd/devices/m25p80.c
index f1dd15e25f..6708f7bfb4 100644
--- a/cleopatre/linux-2.6.25.10-spc300/drivers/mtd/devices/m25p80.c
+++ b/cleopatre/linux-2.6.25.10-spc300/drivers/mtd/devices/m25p80.c
@@ -519,6 +519,7 @@ static struct flash_info __devinitdata m25p_data [] = {
/* Macronix -- */
{ "mx25l3205d", 0xc22016, 64 * 1024, 64, SECT_4K, },
{ "mx25l6406e", 0xc22017, 64 * 1024, 128, SECT_4K, },
+ { "mx25l128", 0xc22018, 64 * 1024, 256, SECT_4K, },
/* Spansion -- single (large) sector size only, at least
* for the chips listed here (without boot sectors).
@@ -552,6 +553,8 @@ static struct flash_info __devinitdata m25p_data [] = {
{ "m25pe80", 0x208014, 64 * 1024, 16, },
{ "m25pe16", 0x208015, 64 * 1024, 32, SECT_4K, },
+ { "n25q128", 0x20ba18, 64*1024, 256, SECT_4K },
+
/* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */
{ "w25x10", 0xef3011, 64 * 1024, 2, SECT_4K, },
{ "w25x20", 0xef3012, 64 * 1024, 4, SECT_4K, },
@@ -561,6 +564,8 @@ static struct flash_info __devinitdata m25p_data [] = {
{ "w25x32", 0xef3016, 64 * 1024, 64, SECT_4K, },
{ "w25q32", 0xef4016, 64 * 1024, 64, SECT_4K, },
{ "w25x64", 0xef3017, 64 * 1024, 128, SECT_4K, },
+ { "w25q32", 0xef4016, 64 * 1024, 64, SECT_4K, },
+ { "w25q128", 0xef4018, 64 * 1024, 256, SECT_4K, },
};
#ifdef CONFIG_ARCH_SPC300