aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-lantiq/patches/0010-sf-spansion-fix-device-IDs-and-sector-architecture-f.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-01-22 12:55:01 +0000
committerLuka Perkov <luka@openwrt.org>2013-01-22 12:55:01 +0000
commit75c9be5c1ea4742c863786421e34195570d46b65 (patch)
tree44bd3fae7a20040579a8baa390863bafe433a99f /package/boot/uboot-lantiq/patches/0010-sf-spansion-fix-device-IDs-and-sector-architecture-f.patch
parent4c8c6257d40fbddea959a9456e5737cb0901f50d (diff)
downloadmaster-187ad058-75c9be5c1ea4742c863786421e34195570d46b65.tar.gz
master-187ad058-75c9be5c1ea4742c863786421e34195570d46b65.tar.bz2
master-187ad058-75c9be5c1ea4742c863786421e34195570d46b65.zip
uboot-lantiq: upgrade to 2013.01
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35292 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-lantiq/patches/0010-sf-spansion-fix-device-IDs-and-sector-architecture-f.patch')
-rw-r--r--package/boot/uboot-lantiq/patches/0010-sf-spansion-fix-device-IDs-and-sector-architecture-f.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/boot/uboot-lantiq/patches/0010-sf-spansion-fix-device-IDs-and-sector-architecture-f.patch b/package/boot/uboot-lantiq/patches/0010-sf-spansion-fix-device-IDs-and-sector-architecture-f.patch
new file mode 100644
index 0000000000..af8c7a173d
--- /dev/null
+++ b/package/boot/uboot-lantiq/patches/0010-sf-spansion-fix-device-IDs-and-sector-architecture-f.patch
@@ -0,0 +1,30 @@
+From 81a8e9e192d53ce8b5cafd47190d6c6826519d09 Mon Sep 17 00:00:00 2001
+From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
+Date: Wed, 7 Nov 2012 14:58:59 +0100
+Subject: sf: spansion: fix device IDs and sector architecture for S25FL256S
+
+Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
+
+--- a/drivers/mtd/spi/spansion.c
++++ b/drivers/mtd/spi/spansion.c
+@@ -97,11 +97,18 @@ static const struct spansion_spi_flash_p
+ .name = "S25FL129P_64K",
+ },
+ {
+- .idcode1 = 0x2019,
++ .idcode1 = 0x0219,
+ .idcode2 = 0x4d01,
+ .pages_per_sector = 256,
+ .nr_sectors = 512,
+- .name = "S25FL256S",
++ .name = "S25FL256S_64K",
++ },
++ {
++ .idcode1 = 0x0219,
++ .idcode2 = 0x4d00,
++ .pages_per_sector = 1024,
++ .nr_sectors = 128,
++ .name = "S25FL256S_256K",
+ },
+ };
+