diff options
author | Claudio Mignanti <c.mignanti@gmail.com> | 2009-02-08 14:32:21 +0000 |
---|---|---|
committer | Claudio Mignanti <c.mignanti@gmail.com> | 2009-02-08 14:32:21 +0000 |
commit | 8188638b49868eda020530bb55fbd8597aaab9d6 (patch) | |
tree | dc72ffeeb18ab0d295a906cf446ea087c407e982 /target/linux/etrax/patches-2.6.28/200-samsung_flash.patch | |
parent | a7782176f90e67682b89432f0f764b69f03bf99a (diff) | |
download | upstream-8188638b49868eda020530bb55fbd8597aaab9d6.tar.gz upstream-8188638b49868eda020530bb55fbd8597aaab9d6.tar.bz2 upstream-8188638b49868eda020530bb55fbd8597aaab9d6.zip |
Initial kernel support for 2.6.28.4
SVN-Revision: 14446
Diffstat (limited to 'target/linux/etrax/patches-2.6.28/200-samsung_flash.patch')
-rw-r--r-- | target/linux/etrax/patches-2.6.28/200-samsung_flash.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/etrax/patches-2.6.28/200-samsung_flash.patch b/target/linux/etrax/patches-2.6.28/200-samsung_flash.patch new file mode 100644 index 0000000000..5df6590fa7 --- /dev/null +++ b/target/linux/etrax/patches-2.6.28/200-samsung_flash.patch @@ -0,0 +1,13 @@ +Index: linux-2.6.28.2/drivers/mtd/chips/cfi_cmdset_0002.c +=================================================================== +--- linux-2.6.28.2.orig/drivers/mtd/chips/cfi_cmdset_0002.c 2009-02-04 13:42:19.000000000 +0100 ++++ linux-2.6.28.2/drivers/mtd/chips/cfi_cmdset_0002.c 2009-02-04 13:44:11.000000000 +0100 +@@ -364,7 +364,7 @@ + return NULL; + } + +- if (extp->MajorVersion != '1' || ++ if (extp->MajorVersion < '1' || extp->MajorVersion > '3' || + (extp->MinorVersion < '0' || extp->MinorVersion > '4')) { + if (cfi->mfr == MANUFACTURER_SAMSUNG && + (extp->MajorVersion == '3' && extp->MinorVersion == '3')) { |