libgles-omap3: fix typos in cpu detection script and pvr init
authorSteve Sakoman <steve@sakoman.com>
Tue, 22 Sep 2009 05:06:44 +0000 (22:06 -0700)
committerKoen Kooi <koen@openembedded.org>
Tue, 22 Sep 2009 08:00:27 +0000 (10:00 +0200)
recipes/powervr-drivers/libgles-omap3/cputype
recipes/powervr-drivers/libgles-omap3/rc.pvr

index 31fc89b..9dc2b49 100755 (executable)
@@ -2,4 +2,4 @@
 devmem2 0x4800244c | \
 grep 'Value at address' | \
 sed -e 's/.*): //' | \
-sed -e 's/0x5C00/OMAP3503/' -e 's/0x1C00/OMAP3515/' -e 's/0x4C00/OMAP3525/' -e 's/0x0C00/OMAP3530/'
+sed -e 's/0x5C00/OMAP3503/' -e 's/0x1C00/OMAP3515/' -e 's/0x4C00/OMAP3525/' -e 's/0xC00/OMAP3530/'
index 20b5167..4a698da 100755 (executable)
@@ -2,7 +2,7 @@
 
 CPUTYPE="$(cputype)"
 
-if ( $CPUTYPE == "OMAP3530"); then
+if [ $CPUTYPE = "OMAP3530" ]; then
 
        rmmod omaplfb
        rmmod pvrsrvkm