summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2010-01-15 13:40:18 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2010-01-15 13:40:18 +0000
commitec7ce827d587c793c1c7eaf45d7c1de1e275f76b (patch)
treeb89ce7c07a2a906fd5096cd3ba66d4e9a3b362af
parentb031e14bf0548f1174cc7116d1c980f613fc4d8f (diff)
downloadmtk-20170518-ec7ce827d587c793c1c7eaf45d7c1de1e275f76b.zip
mtk-20170518-ec7ce827d587c793c1c7eaf45d7c1de1e275f76b.tar.gz
mtk-20170518-ec7ce827d587c793c1c7eaf45d7c1de1e275f76b.tar.bz2
etrax: fix detection of samsung flash chip (#6155)
SVN-Revision: 19153
-rw-r--r--target/linux/etrax/patches-2.6.30/200-samsung_flash.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/etrax/patches-2.6.30/200-samsung_flash.patch b/target/linux/etrax/patches-2.6.30/200-samsung_flash.patch
index ef4f8e5..4176ec3 100644
--- a/target/linux/etrax/patches-2.6.30/200-samsung_flash.patch
+++ b/target/linux/etrax/patches-2.6.30/200-samsung_flash.patch
@@ -5,7 +5,7 @@
cfi_fixup_major_minor(cfi, extp);
- if (extp->MajorVersion != '1' ||
-+ if (extp->MajorVersion < '1' || extp->MajorVersion > '3' ||
++ if (extp->MajorVersion < '0' || extp->MajorVersion > '3' ||
(extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
if (cfi->mfr == MANUFACTURER_SAMSUNG &&
(extp->MajorVersion == '3' && extp->MinorVersion == '3')) {