X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric-2.6%2Fpatches-2.6.24%2F007-samsung_flash.patch;fp=target%2Flinux%2Fgeneric-2.6%2Fpatches-2.6.24%2F007-samsung_flash.patch;h=9685a7be9fb128e0f999fbed93ec5895b252b4e8;hp=1be698ce0f9b15dbdb47c65e35fa5b4aa56703f5;hb=2242d5b17548d43d55bbfafdcbd424002bc66bfa;hpb=68a2d5d62a575fe858341b132eb27e63f7a2b286 diff --git a/target/linux/generic-2.6/patches-2.6.24/007-samsung_flash.patch b/target/linux/generic-2.6/patches-2.6.24/007-samsung_flash.patch index 1be698ce0f..9685a7be9f 100644 --- a/target/linux/generic-2.6/patches-2.6.24/007-samsung_flash.patch +++ b/target/linux/generic-2.6/patches-2.6.24/007-samsung_flash.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.23-rc6/drivers/mtd/chips/cfi_cmdset_0002.c +Index: linux-2.6.24.7/drivers/mtd/chips/cfi_cmdset_0002.c =================================================================== ---- linux-2.6.23-rc6.orig/drivers/mtd/chips/cfi_cmdset_0002.c 2007-09-21 16:23:54.000000000 +0800 -+++ linux-2.6.23-rc6/drivers/mtd/chips/cfi_cmdset_0002.c 2007-09-21 16:23:57.000000000 +0800 +--- linux-2.6.24.7.orig/drivers/mtd/chips/cfi_cmdset_0002.c ++++ linux-2.6.24.7/drivers/mtd/chips/cfi_cmdset_0002.c @@ -51,6 +51,7 @@ #define SST49LF040B 0x0050 #define SST49LF008A 0x005a @@ -10,7 +10,7 @@ Index: linux-2.6.23-rc6/drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); static int cfi_amdstd_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); -@@ -294,12 +295,19 @@ +@@ -294,12 +295,19 @@ struct mtd_info *cfi_cmdset_0002(struct if (extp->MajorVersion != '1' || (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {