From e4ceb345ab3e2a6de86de940640766d3ec9e415f Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 6 Feb 2010 17:59:16 +0000 Subject: [PATCH] ar71xx: add support for the Winbond W25Q32BV SPI flash (based on the patch from #6641) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19536 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../112-mtd-m25p80-add-w25q32-chip-support.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch diff --git a/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch b/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch new file mode 100644 index 000000000..0e4c060db --- /dev/null +++ b/target/linux/ar71xx/patches-2.6.32/112-mtd-m25p80-add-w25q32-chip-support.patch @@ -0,0 +1,10 @@ +--- a/drivers/mtd/devices/m25p80.c ++++ b/drivers/mtd/devices/m25p80.c +@@ -692,6 +692,7 @@ static struct flash_info __devinitdata m + { "w25x80", 0xef3014, 0, 64 * 1024, 16, SECT_4K, }, + { "w25x16", 0xef3015, 0, 64 * 1024, 32, SECT_4K, }, + { "w25x32", 0xef3016, 0, 64 * 1024, 64, SECT_4K, }, ++ { "w25q32", 0xef4016, 0, 64 * 1024, 64, SECT_4K, }, + { "w25x64", 0xef3017, 0, 64 * 1024, 128, SECT_4K, }, + }; + -- 2.20.1