linux-kexecboot: add pending patch for c7x0 to 2.6.34
authorAndrea Adami <andrea.adami@gmail.com>
Fri, 25 Jun 2010 23:53:58 +0000 (01:53 +0200)
committerAndrea Adami <andrea.adami@gmail.com>
Sat, 26 Jun 2010 00:03:29 +0000 (02:03 +0200)
* unbreak corgi mmc/sd detection.

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
recipes/kexecboot/linux-kexecboot-2.6.34/c7x0/fix-corgi-card-detection.patch [new file with mode: 0644]
recipes/kexecboot/linux-kexecboot_2.6.34.bb

diff --git a/recipes/kexecboot/linux-kexecboot-2.6.34/c7x0/fix-corgi-card-detection.patch b/recipes/kexecboot/linux-kexecboot-2.6.34/c7x0/fix-corgi-card-detection.patch
new file mode 100644 (file)
index 0000000..7ef01de
--- /dev/null
@@ -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,
+ };
+
index 8a3d472..58c66bc 100644 (file)
@@ -9,8 +9,10 @@ DEFAULT_PREFERENCE = "-1"
 
 SRC_URI += "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \
            file://ARM-Add-support-for-LZMA-compressed-kernel-images.patch;status=pending \
-          file://use-noclone-attribute-for-naked.patch;status=pending \
+           file://use-noclone-attribute-for-naked.patch;status=pending \
            file://defconfig"
 
 SRC_URI[kernel.md5sum] = "10eebcb0178fb4540e2165bfd7efc7ad"
 SRC_URI[kernel.sha256sum] = "fa395fec7de633df1cb85b6248b8f35af98380ed128a8bc465fb48bc4d252633"
+
+SRC_URI_append_c7x0 = " file://fix-corgi-card-detection.patch;status=pending "