ti-dmai: add omap3-touchbook support
authorKoen Kooi <koen@openembedded.org>
Fri, 25 Sep 2009 10:45:42 +0000 (12:45 +0200)
committerKoen Kooi <koen@openembedded.org>
Fri, 25 Sep 2009 10:45:42 +0000 (12:45 +0200)
recipes/ti/ti-dmai.inc
recipes/ti/ti-dmai/touchbook-support.patch [new file with mode: 0644]
recipes/ti/ti-dmai_svn.bb

index 8e95cf1..e93e997 100644 (file)
@@ -7,10 +7,10 @@ SRC_URI = "svn://gforge.ti.com/svn/dmai/branches;module=BRANCH_BRIJESH_DMAI_DEV_
                file://loadmodules-ti-dmai-dm355_al.sh \
                file://loadmodules-ti-dmai-dm6446_al.sh \
                file://loadmodules-ti-dmai-o3530_al.sh \
+        file://touchbook-support.patch;patch=1 \
        "
 
 S = "${WORKDIR}/BRANCH_BRIJESH_DMAI_DEV_2_xx/davinci_multimedia_application_interface"
 # Yes, the xdc stuff still breaks with a '.' in PWD
 PV = "svnr${SRCREV}"
-PR = "r33"
 
diff --git a/recipes/ti/ti-dmai/touchbook-support.patch b/recipes/ti/ti-dmai/touchbook-support.patch
new file mode 100644 (file)
index 0000000..a63bb17
--- /dev/null
@@ -0,0 +1,10 @@
+--- /tmp/Cpu.c 2009-09-25 12:41:08.000000000 +0200
++++ davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/Cpu.c     2009-09-25 12:41:36.000000000 +0200
+@@ -107,6 +107,7 @@
+     }
+     else if ((strcmp(valBuf,"OMAP3EVM Board") == 0) ||
+             (strcmp(valBuf, "OMAP3 EVM") == 0) ||
++            (strcmp(valBuf, "OMAP3 Touch Book") == 0) ||
+             (strcmp(valBuf, "OMAP3 Beagle Board") == 0)) {
+             *device = Cpu_Device_OMAP3530;
+     }
index d94dd61..83199e6 100644 (file)
@@ -4,7 +4,7 @@ require ti-paths.inc
 inherit module-base
 
 #This is a kernel module, don't set PR directly
-MACHINE_KERNEL_PR_append = "a"
+MACHINE_KERNEL_PR_append = "b"
 
 # compile time dependencies
 DEPENDS_omap3evm  += "alsa-lib ti-codec-engine ti-xdctools-native ti-dspbios-native ti-cgt6x-native ti-cs1-omap3530 virtual/kernel ti-dsplink-module"