X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric-2.6%2Fpatches-2.6.32%2F014-cfi_fix_amd_extended_table_check.patch;h=7010d367b8f25449a593d19fbbe4e69f543ecc2c;hp=2618fafeb99abea83e2c607d0ca12f6444670fcb;hb=460d95817f6d2eddabc538e15af514a152901b85;hpb=c9daff6ff268852cd225c5ee7fc6db622121da41 diff --git a/target/linux/generic-2.6/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch b/target/linux/generic-2.6/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch index 2618fafeb..7010d367b 100644 --- a/target/linux/generic-2.6/patches-2.6.32/014-cfi_fix_amd_extended_table_check.patch +++ b/target/linux/generic-2.6/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);