aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddharth Heroor <heroor@ti.com>2011-04-09 13:56:21 +0000
committerSteffen Sledz <sledz@dresearch-fe.de>2011-04-29 14:08:36 +0200
commit219761a2a30e3a4cc668e620afcd9ea301f184b8 (patch)
treedd75cc3e437e38c0d78e59e7c5bca4d3b368efad
parentb7c002d94cae6d34a36fa4a3bb38220341969a0a (diff)
downloadopenembedded-219761a2a30e3a4cc668e620afcd9ea301f184b8.zip
openembedded-219761a2a30e3a4cc668e620afcd9ea301f184b8.tar.gz
openembedded-219761a2a30e3a4cc668e620afcd9ea301f184b8.tar.bz2
libgles-omap3: Remove SGX Fixup for TI816x.
* Unlike OMAP3, the SGX core has not undergone revisions in TI816x. The libraries for TI816x are also fixed and do not need fixup based on revision of the SGX core. Signed-off-by: Siddharth Heroor <heroor@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rwxr-xr-xrecipes/powervr-drivers/libgles-omap3/rc.pvr10
1 files changed, 3 insertions, 7 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr
index 395d085..1b141a0 100755
--- a/recipes/powervr-drivers/libgles-omap3/rc.pvr
+++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr
@@ -90,15 +90,11 @@ case $CPUTYPE in
devmem2 0x48180900 w 0x2
devmem2 0x48180920 w 0x2
+ sleep 2
+
ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:5: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')"
- if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then
- echo -n "Starting SGX fixup for"
- echo " ES${ES_REVISION}.x"
- cp -a /usr/lib/ES${ES_REVISION}.0/* /usr/lib
- cp -a /usr/bin/ES${ES_REVISION}.0/* /usr/bin
- echo "${ES_REVISION}" > /etc/powervr-esrev
- fi
+ echo "${ES_REVISION}" > /etc/powervr-esrev
/usr/bin/pvrsrvinit
;;