aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-09-29 01:46:19 +0200
committerAndrea Adami <andrea.adami@gmail.com>2010-09-29 01:51:43 +0200
commitda451d4d552488e6ce6dad0a7fa4815a9c29459d (patch)
tree3de0c7690e001a75eb505c525a0369168f8c6bf0 /recipes/linux/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch
parentee4a70a8d3832f0c4bae3c002692136e9ff6587f (diff)
downloadopenembedded-da451d4d552488e6ce6dad0a7fa4815a9c29459d.tar.gz
linux-kexecboot: move recipes in /linux
* some old version might hopefully be pruned
Diffstat (limited to 'recipes/linux/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch')
-rw-r--r--recipes/linux/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/linux/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch b/recipes/linux/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch
new file mode 100644
index 0000000000..7ef01de119
--- /dev/null
+++ b/recipes/linux/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch
@@ -0,0 +1,17 @@
+[PATCH] [ARM] pxa/corgi: fix MMC/SD card detection failure
+
+Reported-by: Andrea Adami <andrea.adami@gmail.com>
+Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
+---
+--- a/arch/arm/mach-pxa/corgi.c
++++ b/arch/arm/mach-pxa/corgi.c
+@@ -438,7 +438,7 @@
+ */
+ static struct pxamci_platform_data corgi_mci_platform_data = {
+ .ocr_mask = MMC_VDD_32_33|MMC_VDD_33_34,
+- .gpio_card_detect = -1,
++ .gpio_card_detect = CORGI_GPIO_nSD_DETECT,
+ .gpio_card_ro = CORGI_GPIO_nSD_WP,
+ .gpio_power = CORGI_GPIO_SD_PWR,
+ };
+