diff options
author | Luka Perkov <luka@openwrt.org> | 2013-01-22 12:55:01 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-01-22 12:55:01 +0000 |
commit | 75c9be5c1ea4742c863786421e34195570d46b65 (patch) | |
tree | 44bd3fae7a20040579a8baa390863bafe433a99f /package/boot/uboot-lantiq/patches/0012-sf-spansion-add-support-for-S25FL512S.patch | |
parent | 4c8c6257d40fbddea959a9456e5737cb0901f50d (diff) | |
download | upstream-75c9be5c1ea4742c863786421e34195570d46b65.tar.gz upstream-75c9be5c1ea4742c863786421e34195570d46b65.tar.bz2 upstream-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/0012-sf-spansion-add-support-for-S25FL512S.patch')
-rw-r--r-- | package/boot/uboot-lantiq/patches/0012-sf-spansion-add-support-for-S25FL512S.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/boot/uboot-lantiq/patches/0012-sf-spansion-add-support-for-S25FL512S.patch b/package/boot/uboot-lantiq/patches/0012-sf-spansion-add-support-for-S25FL512S.patch new file mode 100644 index 0000000000..5f415a9153 --- /dev/null +++ b/package/boot/uboot-lantiq/patches/0012-sf-spansion-add-support-for-S25FL512S.patch @@ -0,0 +1,23 @@ +From bff335ac524843bc90163c3b231091a5016f8670 Mon Sep 17 00:00:00 2001 +From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> +Date: Wed, 7 Nov 2012 15:07:54 +0100 +Subject: sf: spansion: add support for S25FL512S + +Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> + +--- a/drivers/mtd/spi/spansion.c ++++ b/drivers/mtd/spi/spansion.c +@@ -114,6 +114,13 @@ static const struct spansion_spi_flash_p + .nr_sectors = 128, + .name = "S25FL256S_256K", + }, ++ { ++ .idcode1 = 0x0220, ++ .idcode2 = 0x4d00, ++ .pages_per_sector = 1024, ++ .nr_sectors = 256, ++ .name = "S25FL512S_256K", ++ }, + }; + + static __maybe_unused int spansion_set_4byte_mode(struct spi_flash *flash) |