aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-04-17 13:04:11 -0700
committerSteffen Sledz <sledz@dresearch-fe.de>2011-04-29 14:08:36 +0200
commit6414256b6ade95013be0effc8d25e02a42da67ca (patch)
treea64ba063d6370e3d6812c79a750b5a793bea60f6
parent219761a2a30e3a4cc668e620afcd9ea301f184b8 (diff)
downloadopenembedded-6414256b6ade95013be0effc8d25e02a42da67ca.tar.gz
Revert "libgles-omap3: Remove SGX Fixup for TI816x."
Please see http://permalink.gmane.org/gmane.comp.handhelds.openembedded/44660 This reverts commit 93645d2c00fe05e66f185ffd29ce3e2362f3a153. Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rwxr-xr-xrecipes/powervr-drivers/libgles-omap3/rc.pvr10
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr
index 1b141a03eb..395d085d12 100755
--- a/recipes/powervr-drivers/libgles-omap3/rc.pvr
+++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr
@@ -90,11 +90,15 @@ 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}')"
- echo "${ES_REVISION}" > /etc/powervr-esrev
+ 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
/usr/bin/pvrsrvinit
;;