summaryrefslogtreecommitdiff
path: root/recipes/ti
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2010-03-14 23:30:07 +0000
committerKoen Kooi <koen@openembedded.org>2010-04-12 19:43:25 +0200
commit586fa189f307dd64d698d9462ede3c6ec7d80362 (patch)
tree8812fd12bdabc589f98540b67de200305157468b /recipes/ti
parent4b334e7a675cccb389db4c4a25aa2bbc52e22811 (diff)
ti-dmai: OMAPL137 include path fix for 2.6.33
* Add ifdef in DMAI Fbdev driver for da830/l137 Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/ti')
-rw-r--r--recipes/ti/ti-dmai/dmai-r423-add-omapl137-support.patch12
-rw-r--r--recipes/ti/ti-dmai_svn.bb4
2 files changed, 15 insertions, 1 deletions
diff --git a/recipes/ti/ti-dmai/dmai-r423-add-omapl137-support.patch b/recipes/ti/ti-dmai/dmai-r423-add-omapl137-support.patch
new file mode 100644
index 0000000000..8f9e8b9f7d
--- /dev/null
+++ b/recipes/ti/ti-dmai/dmai-r423-add-omapl137-support.patch
@@ -0,0 +1,12 @@
+diff -uNr davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c davinci_multimedia_application_interfaceb/dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c
+--- davinci_multimedia_application_interface/dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c 2010-03-14 22:43:20.000000000 +0000
++++ davinci_multimedia_application_interfaceb/dmai/packages/ti/sdo/dmai/linux/Display_fbdev.c 2010-03-14 23:19:41.000000000 +0000
+@@ -43,7 +43,7 @@
+
+ #ifdef Dmai_Device_omap3530
+ #include <linux/omapfb.h>
+-#elif defined Dmai_Device_omapl138
++#elif defined (Dmai_Device_omapl137) || defined (Dmai_Device_omapl138)
+ #include <video/davincifb.h>
+ #else
+ #include <video/davincifb_ioctl.h>
diff --git a/recipes/ti/ti-dmai_svn.bb b/recipes/ti/ti-dmai_svn.bb
index dbfcfeaa00..ab8fd69503 100644
--- a/recipes/ti/ti-dmai_svn.bb
+++ b/recipes/ti/ti-dmai_svn.bb
@@ -14,7 +14,7 @@ PV = "1.0+svnr${SRCPV}"
# This package has high dependence on kernel, use kernel PR as base and append a local version
PR = "${MACHINE_KERNEL_PR}"
-PR_append = "f"
+PR_append = "g"
S = "${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface"
@@ -46,6 +46,8 @@ SRC_URI = "svn://gforge.ti.com/svn/dmai/;module=${DMAIBRANCH};proto=https;user=a
file://loadmodules-ti-dmai-ol138_al.sh \
"
+SRC_URI_append_omapl137 = " file://dmai-r423-add-omapl137-support.patch;patch=1 "
+
DEPENDS = "virtual/kernel alsa-lib ti-framework-components ti-codec-engine ti-xdctools"
DEPENDS_append_dm6446 = " ti-codecs-dm6446 ti-dspbios ti-cgt6x ti-linuxutils"