From 57bba92916a02bf1221838cd1181724ba4ee900e Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sat, 14 Aug 2010 21:07:28 +0000 Subject: generic: fix wrong number of erase sectors for xxxS33B SPI flashes SVN-Revision: 22643 --- .../generic/patches-2.6.32/086-mtd_m25p80_add_xxxs33b_support.patch | 6 +++--- .../generic/patches-2.6.33/086-mtd_m25p80_add_xxxs33b_support.patch | 6 +++--- .../generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch | 6 +++--- .../generic/patches-2.6.35/086-mtd_m25p80_add_xxxs33b_support.patch | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/target/linux/generic/patches-2.6.32/086-mtd_m25p80_add_xxxs33b_support.patch b/target/linux/generic/patches-2.6.32/086-mtd_m25p80_add_xxxs33b_support.patch index 0c7c227ed8..a71bcf14c0 100644 --- a/target/linux/generic/patches-2.6.32/086-mtd_m25p80_add_xxxs33b_support.patch +++ b/target/linux/generic/patches-2.6.32/086-mtd_m25p80_add_xxxs33b_support.patch @@ -5,9 +5,9 @@ { "en25p64", 0x1c2017, 0, 64 * 1024, 128, }, + /* Numonyx -- xxxs33b */ -+ { "160s33b", 0x898911, 0, 64 * 1024, 64, }, -+ { "320s33b", 0x898912, 0, 64 * 1024, 128, }, -+ { "640s33b", 0x898913, 0, 64 * 1024, 256, }, ++ { "160s33b", 0x898911, 0, 64 * 1024, 32, }, ++ { "320s33b", 0x898912, 0, 64 * 1024, 64, }, ++ { "640s33b", 0x898913, 0, 64 * 1024, 128, }, + /* PMC -- pm25x "blocks" are 32K, sectors are 4K */ { "pm25lv512", 0, 32 * 1024, 2, SECT_4K }, diff --git a/target/linux/generic/patches-2.6.33/086-mtd_m25p80_add_xxxs33b_support.patch b/target/linux/generic/patches-2.6.33/086-mtd_m25p80_add_xxxs33b_support.patch index 2f6d89927c..fc20871fa4 100644 --- a/target/linux/generic/patches-2.6.33/086-mtd_m25p80_add_xxxs33b_support.patch +++ b/target/linux/generic/patches-2.6.33/086-mtd_m25p80_add_xxxs33b_support.patch @@ -5,9 +5,9 @@ { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + /* Numonyx -- xxxs33b */ -+ { "160s33b", INFO(0x898911, 0, 64 * 1024, 64, 0) }, -+ { "320s33b", INFO(0x898912, 0, 64 * 1024, 128, 0) }, -+ { "640s33b", INFO(0x898913, 0, 64 * 1024, 256, 0) }, ++ { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) }, ++ { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) }, ++ { "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) }, + /* PMC -- pm25x "blocks" are 32K, sectors are 4K */ { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) }, diff --git a/target/linux/generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch b/target/linux/generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch index 293ed8bdb6..69c595e0a0 100644 --- a/target/linux/generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch +++ b/target/linux/generic/patches-2.6.34/086-mtd_m25p80_add_xxxs33b_support.patch @@ -5,9 +5,9 @@ { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + /* Numonyx -- xxxs33b */ -+ { "160s33b", INFO(0x898911, 0, 64 * 1024, 64, 0) }, -+ { "320s33b", INFO(0x898912, 0, 64 * 1024, 128, 0) }, -+ { "640s33b", INFO(0x898913, 0, 64 * 1024, 256, 0) }, ++ { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) }, ++ { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) }, ++ { "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) }, + /* PMC -- pm25x "blocks" are 32K, sectors are 4K */ { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) }, diff --git a/target/linux/generic/patches-2.6.35/086-mtd_m25p80_add_xxxs33b_support.patch b/target/linux/generic/patches-2.6.35/086-mtd_m25p80_add_xxxs33b_support.patch index 293ed8bdb6..69c595e0a0 100644 --- a/target/linux/generic/patches-2.6.35/086-mtd_m25p80_add_xxxs33b_support.patch +++ b/target/linux/generic/patches-2.6.35/086-mtd_m25p80_add_xxxs33b_support.patch @@ -5,9 +5,9 @@ { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, + /* Numonyx -- xxxs33b */ -+ { "160s33b", INFO(0x898911, 0, 64 * 1024, 64, 0) }, -+ { "320s33b", INFO(0x898912, 0, 64 * 1024, 128, 0) }, -+ { "640s33b", INFO(0x898913, 0, 64 * 1024, 256, 0) }, ++ { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) }, ++ { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) }, ++ { "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) }, + /* PMC -- pm25x "blocks" are 32K, sectors are 4K */ { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K) }, -- cgit v1.2.3