[oe-commits] Andrea Adami : linux-kexecboot: add pending patch for c7x0 to 2.6.32

git version control git at git.openembedded.org
Sat Jun 26 00:05:58 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7598af259a83c241c4b1e0ceb1dba7540548b6bc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7598af259a83c241c4b1e0ceb1dba7540548b6bc

Author: Andrea Adami <andrea.adami at gmail.com>
Date:   Sat Jun 26 01:52:11 2010 +0200

linux-kexecboot: add pending patch for c7x0 to 2.6.32

* unbreak corgi mmc/sd detection.

Signed-off-by: Eric Miao <eric.y.miao at gmail.com>

---

 .../c7x0/fix-corgi-card-detection.patch            |   17 +++++++++++++++++
 recipes/kexecboot/linux-kexecboot_2.6.32.bb        |    2 ++
 2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/recipes/kexecboot/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch b/recipes/kexecboot/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch
new file mode 100644
index 0000000..7ef01de
--- /dev/null
+++ b/recipes/kexecboot/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 at gmail.com>
+Signed-off-by: Eric Miao <eric.y.miao at 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,
+ };
+
diff --git a/recipes/kexecboot/linux-kexecboot_2.6.32.bb b/recipes/kexecboot/linux-kexecboot_2.6.32.bb
index 22e9580..8556b0a 100644
--- a/recipes/kexecboot/linux-kexecboot_2.6.32.bb
+++ b/recipes/kexecboot/linux-kexecboot_2.6.32.bb
@@ -28,6 +28,8 @@ SRC_URI += "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=k
 SRC_URI[kernel.md5sum] = "260551284ac224c3a43c4adac7df4879"
 SRC_URI[kernel.sha256sum] = "5099786d80b8407d98a619df00209c2353517f22d804fdd9533b362adcb4504e"
 
+SRC_URI_append_c7x0 = " file://fix-corgi-card-detection.patch;status=pending "
+
 SRC_URI_append_omap3 = " git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;protocol=git;rev=6833f1a8cdcb65a370f898bde6b6af63f81962df \
 file://defconfig \
 file://sctp-fix.patch \





More information about the Openembedded-commits mailing list