summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.34/014-samsung_flash.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-07-01 22:28:22 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-07-01 22:28:22 +0000
commitb917b09b91753920eefdfb7c4a59b6c70a84ea59 (patch)
tree30edba8a340d95eca7f994c1501ec1033848af0b /target/linux/generic/patches-2.6.34/014-samsung_flash.patch
parent7484ad4108583bf6408ce2d5f23a1b018399f23c (diff)
downloadmtk-20170518-b917b09b91753920eefdfb7c4a59b6c70a84ea59.zip
mtk-20170518-b917b09b91753920eefdfb7c4a59b6c70a84ea59.tar.gz
mtk-20170518-b917b09b91753920eefdfb7c4a59b6c70a84ea59.tar.bz2
refresh 2.6.34 patches
SVN-Revision: 22042
Diffstat (limited to 'target/linux/generic/patches-2.6.34/014-samsung_flash.patch')
-rw-r--r--target/linux/generic/patches-2.6.34/014-samsung_flash.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.34/014-samsung_flash.patch b/target/linux/generic/patches-2.6.34/014-samsung_flash.patch
index 7010d36..2618faf 100644
--- a/target/linux/generic/patches-2.6.34/014-samsung_flash.patch
+++ b/target/linux/generic/patches-2.6.34/014-samsung_flash.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);