[oe-commits] Andrea Adami : linux-kexecboot: pick collie fix from upstream for 2.6.37

git version control git at git.openembedded.org
Sun Feb 27 17:08:47 UTC 2011


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

Author: Andrea Adami <andrea.adami at gmail.com>
Date:   Sun Feb 27 16:45:02 2011 +0100

linux-kexecboot: pick collie fix from upstream for 2.6.37

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>

---

 .../collie/collie-locomo-kb.patch                  |   31 ++++++++++++++++++++
 recipes/linux/linux-kexecboot_2.6.37.bb            |    4 ++-
 2 files changed, 34 insertions(+), 1 deletions(-)

diff --git a/recipes/linux/linux-kexecboot-2.6.37/collie/collie-locomo-kb.patch b/recipes/linux/linux-kexecboot-2.6.37/collie/collie-locomo-kb.patch
new file mode 100644
index 0000000..8b783e7
--- /dev/null
+++ b/recipes/linux/linux-kexecboot-2.6.37/collie/collie-locomo-kb.patch
@@ -0,0 +1,31 @@
+ARM: 6658/1: collie: do actually pass locomo_info to locomo driver
+
+locomo_info isn't actually used as a platform_data on collie platform:
+ arm/mach-sa1100/collie.c:237: warning: locomo_info defined but not used
+
+So locomo driver doesn't setup IRQs correctly. Pass locomo_info to the
+driver.
+
+Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
+Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
+---
+ arch/arm/mach-sa1100/collie.c |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
+index d43c5ef..bd3e1bf 100644
+--- a/arch/arm/mach-sa1100/collie.c
++++ b/arch/arm/mach-sa1100/collie.c
+@@ -241,6 +241,9 @@ static struct locomo_platform_data locomo_info = {
+ struct platform_device collie_locomo_device = {
+ 	.name		= "locomo",
+ 	.id		= 0,
++	.dev		= {
++		.platform_data	= &locomo_info,
++	},
+ 	.num_resources	= ARRAY_SIZE(locomo_resources),
+ 	.resource	= locomo_resources,
+ };
+-- 
+1.7.4.1
+
diff --git a/recipes/linux/linux-kexecboot_2.6.37.bb b/recipes/linux/linux-kexecboot_2.6.37.bb
index c33ef19..8cbd84b 100644
--- a/recipes/linux/linux-kexecboot_2.6.37.bb
+++ b/recipes/linux/linux-kexecboot_2.6.37.bb
@@ -1,6 +1,6 @@
 require linux-kexecboot.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 S = "${WORKDIR}/linux-${PV}"
 
@@ -10,5 +10,7 @@ DEFAULT_PREFERENCE = "-1"
 SRC_URI += "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \
             file://defconfig"
 
+SRC_URI_append_collie = " file://collie-locomo-kb.patch;status=upstream "
+
 SRC_URI[kernel.md5sum] = "c8ee37b4fdccdb651e0603d35350b434"
 SRC_URI[kernel.sha256sum] = "edbf091805414739cf57a3bbfeba9e87f5e74f97e38f04d12060e9e0c71e383a"





More information about the Openembedded-commits mailing list