summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-04-01 20:31:15 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-04-01 20:31:15 +0200
commitd67a64916ea1ff030ebb89dc8e8f9dd207d703fc (patch)
treed1d7b0c3036f965224f851691090ac943fcb6e59
parent2d05226a33f1d0e43bdbb06e57997b363572c330 (diff)
linux-omap_2.6.29.bb: added mmctiming patch
-rw-r--r--recipes/linux/linux-omap-2.6.29/mmctiming.patch16
-rw-r--r--recipes/linux/linux-omap_2.6.29.bb3
2 files changed, 18 insertions, 1 deletions
diff --git a/recipes/linux/linux-omap-2.6.29/mmctiming.patch b/recipes/linux/linux-omap-2.6.29/mmctiming.patch
new file mode 100644
index 0000000000..ec540ab3cb
--- /dev/null
+++ b/recipes/linux/linux-omap-2.6.29/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.29.bb b/recipes/linux/linux-omap_2.6.29.bb
index a74bd62cac..0138e7678c 100644
--- a/recipes/linux/linux-omap_2.6.29.bb
+++ b/recipes/linux/linux-omap_2.6.29.bb
@@ -10,7 +10,7 @@ DEFAULT_PREFERENCE = "-1"
SRCREV = "90e758af52ba803cba233fabee81176d99589f09"
-PR = "r3+gitr${SRCREV}"
+PR = "r4+gitr${SRCREV}"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;protocol=git \
file://defconfig"
@@ -24,6 +24,7 @@ SRC_URI_append = " \
file://0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch;patch=1 \
file://fix-unaligned-access.diff;patch=1 \
file://make-alignment-visible.diff;patch=1 \
+ file://mmctiming.patch;patch=1 \
"