handhelds-pxa-2.6: add patch to enable iwmmxt for the hx4700
authorKoen Kooi <koen@openembedded.org>
Mon, 7 Aug 2006 08:28:11 +0000 (08:28 +0000)
committerKoen Kooi <koen@openembedded.org>
Mon, 7 Aug 2006 08:28:11 +0000 (08:28 +0000)
* tested using DISTRO=angstrom-2006.9:
    root@ipaq-pxa270:~$ ./iwmmx-test
     before: 10203045060708 10203045060708
     after: 2040608a0c0e10

packages/linux/handhelds-pxa-2.6/hx-iwmmxt.patch [new file with mode: 0644]
packages/linux/handhelds-pxa-2.6_cvs.bb

diff --git a/packages/linux/handhelds-pxa-2.6/hx-iwmmxt.patch b/packages/linux/handhelds-pxa-2.6/hx-iwmmxt.patch
new file mode 100644 (file)
index 0000000..2cb7b37
--- /dev/null
@@ -0,0 +1,15 @@
+Index: kernel26/arch/arm/mach-pxa/hx4700/Kconfig
+===================================================================
+RCS file: /cvs/linux/kernel26/arch/arm/mach-pxa/hx4700/Kconfig,v
+retrieving revision 1.22
+diff -u -r1.22 Kconfig
+--- kernel26/arch/arm/mach-pxa/hx4700/Kconfig  28 Mar 2006 19:12:12 -0000      1.22
++++ kernel26/arch/arm/mach-pxa/hx4700/Kconfig  6 Aug 2006 23:24:52 -0000
+@@ -2,6 +2,7 @@
+       bool "HP iPAQ hx4700"
+       select PXA27x
+       select GPIO_KEYS
++      select IWMMXT
+       help
+         This enables support for the HP iPAQ hx4700 handheld.
+         
index 0548688..0273f1b 100644 (file)
@@ -3,17 +3,18 @@ DESCRIPTION = "handhelds.org Linux kernel for PXA based devices."
 MAINTAINER = "Greg Gilbert <greg@treke.net>"
 LICENSE = "GPL"
 PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-hh${HHV}+cvs${SRCDATE}"
-PR = "r0"
+PR = "r1"
 #
 COMPATIBLE_HOST = "arm.*-linux"
-COMPATIBLE_MACHINE = '(h3900|h2200|ipaq-pxa270)'
+COMPATIBLE_MACHINE = '(h3900|h5xxx|h2200|ipaq-pxa270)'
 
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-pxa-${PV}"
 
 SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26  \
            file://24-hostap_cs_id.diff;patch=1 \
            file://hrw-pcmcia-ids-r2.patch;patch=1 \
-           file://defconfig"
+           file://hx-iwmmxt.patch;patch=1 \
+          file://defconfig"
 
 S = "${WORKDIR}/kernel26"