[oe-commits] Frans Meulenbroeks : linux-omap-2.6.28: relaxed timeout values for SD cards
GIT User account
git at amethyst.openembedded.net
Sun Mar 29 16:06:32 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: b573614a7e5c5d01d8b2995a37e161cfd143b5d6
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b573614a7e5c5d01d8b2995a37e161cfd143b5d6
Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date: Fri Mar 27 19:32:09 2009 +0100
linux-omap-2.6.28: relaxed timeout values for SD cards
this makes it possible to use cards which are around the border of the spec
---
recipes/linux/linux-omap-2.6.28/mmctiming.patch | 16 ++++++++++++++++
recipes/linux/linux-omap_2.6.28.bb | 3 ++-
2 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/recipes/linux/linux-omap-2.6.28/mmctiming.patch b/recipes/linux/linux-omap-2.6.28/mmctiming.patch
new file mode 100644
index 0000000..ec540ab
--- /dev/null
+++ b/recipes/linux/linux-omap-2.6.28/mmctiming.patch
@@ -0,0 +1,16 @@
+Index: git/drivers/mmc/core/core.c
+===================================================================
+--- git.orig/drivers/mmc/core/core.c
++++ git/drivers/mmc/core/core.c
+@@ -284,9 +284,9 @@ void mmc_set_data_timeout(struct mmc_dat
+ * The limit is really 250 ms, but that is
+ * insufficient for some crappy cards.
+ */
+- limit_us = 300000;
++ limit_us = 500000;
+ else
+- limit_us = 100000;
++ limit_us = 200000;
+
+ /*
+ * SDHC cards always use these fixed values.
diff --git a/recipes/linux/linux-omap_2.6.28.bb b/recipes/linux/linux-omap_2.6.28.bb
index f89ef2a..d144720 100644
--- a/recipes/linux/linux-omap_2.6.28.bb
+++ b/recipes/linux/linux-omap_2.6.28.bb
@@ -13,7 +13,7 @@ DEFAULT_PREFERENCE_omap5912osk = "1"
SRCREV = "79d042a081d3e467c735bb0d9569ed6296f85a3c"
PV = "2.6.28"
-PR = "r17"
+PR = "r18"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;branch=omap-2.6.28;protocol=git \
file://defconfig"
@@ -54,6 +54,7 @@ SRC_URI_append = " \
file://usbttyfix.patch;patch=1 \
file://ioremap-fix.patch;patch=1 \
file://0124-leds-gpio-broken-with-current-git.patch;patch=1 \
+ file://mmctiming.patch;patch=1 \
"
More information about the Openembedded-commits
mailing list