diff options
author | James Maki <jmaki@multitech.com> | 2010-10-18 08:43:09 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2010-12-17 10:10:53 -0600 |
commit | b1b26f2aa637a885d724544bb5056c8fdb9522d4 (patch) | |
tree | 7699c1db4415a4ba0dee39f5deb042452876e224 /recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-m25p80.patch | |
parent | 370108a0cd536a8bf36e87fab523c6eaa2b9f7d0 (diff) |
new linux-2.6.32.3 patch set
- m25p80: enable write during probe for sst25VF080B
- disable rtt interrupts during interrupt init
- add m25p80 test code
Diffstat (limited to 'recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-m25p80.patch')
-rw-r--r-- | recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-m25p80.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-m25p80.patch b/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-m25p80.patch new file mode 100644 index 0000000000..71d3a920bb --- /dev/null +++ b/recipes/linux/linux-2.6.32/mtcdp/linux-2.6.32.3-m25p80.patch @@ -0,0 +1,12 @@ +diff -uprN -X linux-2.6.32.3/Documentation/dontdiff linux-2.6.32.3-vanilla/drivers/mtd/devices/m25p80.c linux-2.6.32.3/drivers/mtd/devices/m25p80.c +--- linux-2.6.32.3-vanilla/drivers/mtd/devices/m25p80.c 2010-01-06 17:07:45.000000000 -0600 ++++ linux-2.6.32.3/drivers/mtd/devices/m25p80.c 2010-10-14 11:36:06.000000000 -0500 +@@ -780,7 +780,7 @@ static int __devinit m25p_probe(struct s + * with the software protection bits set + */ + +- if (info->jedec_id >> 16 == 0x1f) { ++ if (info->jedec_id >> 16 == 0x1f || info->jedec_id == 0xbf258e) { + write_enable(flash); + write_sr(flash, 0); + } |