diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-03-27 19:32:09 +0100 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2009-03-27 19:32:09 +0100 |
commit | b573614a7e5c5d01d8b2995a37e161cfd143b5d6 (patch) | |
tree | 7e72cdc4014a6f5e0fb121a99034d15616715a18 | |
parent | c133a97e0c262fb707eecbc79a41cececb391e5a (diff) |
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
-rw-r--r-- | recipes/linux/linux-omap-2.6.28/mmctiming.patch | 16 | ||||
-rw-r--r-- | 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 0000000000..ec540ab3cb --- /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 f89ef2aea6..d14472021e 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 \ " |