summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-08-31 14:08:30 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-08-31 14:08:30 +0000
commit66f9c974c03db283551b7825cffe95a52ca964ad (patch)
tree18375a9dc49f901c142c4cb663b0d07dc556052a /target/linux/generic/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch
parentee4dd61b1095aa103a20fb97f8dfabecc7a1f8a8 (diff)
downloadmaster-31e0f0ae-66f9c974c03db283551b7825cffe95a52ca964ad.tar.gz
master-31e0f0ae-66f9c974c03db283551b7825cffe95a52ca964ad.tar.bz2
master-31e0f0ae-66f9c974c03db283551b7825cffe95a52ca964ad.zip
refresh 2.6.32 patches
SVN-Revision: 22848
Diffstat (limited to 'target/linux/generic/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch')
-rw-r--r--target/linux/generic/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch b/target/linux/generic/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch
index 2618fafeb9..7010d367b8 100644
--- a/target/linux/generic/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch
+++ b/target/linux/generic/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch
@@ -1,6 +1,6 @@
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
-@@ -325,6 +325,8 @@ static struct cfi_fixup fixup_table[] =
+@@ -325,6 +325,8 @@ static struct cfi_fixup fixup_table[] =
static void cfi_fixup_major_minor(struct cfi_private *cfi,
struct cfi_pri_amdstd *extp)
{
@@ -9,7 +9,7 @@
if (cfi->mfr == CFI_MFR_SAMSUNG && cfi->id == 0x257e &&
extp->MajorVersion == '0')
extp->MajorVersion = '1';
-@@ -355,6 +357,9 @@ struct mtd_info *cfi_cmdset_0002(struct
+@@ -355,6 +357,9 @@ struct mtd_info *cfi_cmdset_0002(struct
mtd->name = map->name;
mtd->writesize = 1;
@@ -19,7 +19,7 @@
if (cfi->cfi_mode==CFI_MODE_CFI){
unsigned char bootloc;
/*
-@@ -373,16 +378,24 @@ struct mtd_info *cfi_cmdset_0002(struct
+@@ -373,16 +378,24 @@ struct mtd_info *cfi_cmdset_0002(struct
cfi_fixup_major_minor(cfi, extp);