summaryrefslogtreecommitdiff
path: root/recipes/kexecboot
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-06-26 01:52:11 +0200
committerAndrea Adami <andrea.adami@gmail.com>2010-06-26 02:03:20 +0200
commit7598af259a83c241c4b1e0ceb1dba7540548b6bc (patch)
treeaac301294183f36e277b804534dd8ff9b0e5383e /recipes/kexecboot
parenta0da7cf379b4eacbd4523c061b29f9256cba7eeb (diff)
linux-kexecboot: add pending patch for c7x0 to 2.6.32
* unbreak corgi mmc/sd detection. Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'recipes/kexecboot')
-rw-r--r--recipes/kexecboot/linux-kexecboot-2.6.32/c7x0/fix-corgi-card-detection.patch17
-rw-r--r--recipes/kexecboot/linux-kexecboot_2.6.32.bb2
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 0000000000..7ef01de119
--- /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@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,
+ };
+
diff --git a/recipes/kexecboot/linux-kexecboot_2.6.32.bb b/recipes/kexecboot/linux-kexecboot_2.6.32.bb
index 22e95809d6..8556b0a5c1 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 \