diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-09-12 21:23:15 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-09-12 21:23:15 +0000 |
commit | f15861c78539ad0ebb4baa0b4c935a8017e622ed (patch) | |
tree | 144b12a4a84f07d2197a7c675036240a9ec4ee0e /target/linux/generic/patches-2.6.35/014-cfi_fix_amd_extended_table_check.patch | |
parent | f10bd899e621ecf56c0f5d3c55680608eab0c2fa (diff) | |
download | upstream-f15861c78539ad0ebb4baa0b4c935a8017e622ed.tar.gz upstream-f15861c78539ad0ebb4baa0b4c935a8017e622ed.tar.bz2 upstream-f15861c78539ad0ebb4baa0b4c935a8017e622ed.zip |
[kernel] refresh 2.6.35 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23033 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.35/014-cfi_fix_amd_extended_table_check.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.35/014-cfi_fix_amd_extended_table_check.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.35/014-cfi_fix_amd_extended_table_check.patch b/target/linux/generic/patches-2.6.35/014-cfi_fix_amd_extended_table_check.patch index 1b028edd98..cd4da2c2ad 100644 --- a/target/linux/generic/patches-2.6.35/014-cfi_fix_amd_extended_table_check.patch +++ b/target/linux/generic/patches-2.6.35/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 -@@ -372,6 +372,8 @@ static struct cfi_fixup fixup_table[] = +@@ -372,6 +372,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'; -@@ -404,6 +406,9 @@ struct mtd_info *cfi_cmdset_0002(struct +@@ -404,6 +406,9 @@ struct mtd_info *cfi_cmdset_0002(struct mtd->reboot_notifier.notifier_call = cfi_amdstd_reboot; @@ -19,7 +19,7 @@ if (cfi->cfi_mode==CFI_MODE_CFI){ unsigned char bootloc; __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; -@@ -417,16 +422,24 @@ struct mtd_info *cfi_cmdset_0002(struct +@@ -417,16 +422,24 @@ struct mtd_info *cfi_cmdset_0002(struct */ cfi_fixup_major_minor(cfi, extp); |