X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-2.6.35%2F014-cfi_fix_amd_extended_table_check.patch;h=1b028edd982c75a709e8273d4f5646f52b0943d3;hp=cd4da2c2ad7acf37ac269ead841d2ff65ea97bb4;hb=be6dd3202fec03cf8a2d98204236418b2dda6649;hpb=01e69f80aaaccd7cab335fec6d2ce8043e1a642b 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 cd4da2c2ad..1b028edd98 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);