summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrecipes/powervr-drivers/libgles-omap3/cputype2
-rwxr-xr-xrecipes/powervr-drivers/libgles-omap3/rc.pvr2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3/cputype b/recipes/powervr-drivers/libgles-omap3/cputype
index 31fc89b8e1..9dc2b49fa2 100755
--- a/recipes/powervr-drivers/libgles-omap3/cputype
+++ b/recipes/powervr-drivers/libgles-omap3/cputype
@@ -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/'
diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr
index 20b5167b4c..4a698da60d 100755
--- a/recipes/powervr-drivers/libgles-omap3/rc.pvr
+++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr
@@ -2,7 +2,7 @@
CPUTYPE="$(cputype)"
-if ( $CPUTYPE == "OMAP3530"); then
+if [ $CPUTYPE = "OMAP3530" ]; then
rmmod omaplfb
rmmod pvrsrvkm