summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2009-09-21 22:06:44 -0700
committerKoen Kooi <koen@openembedded.org>2009-09-22 10:00:27 +0200
commit217eda1ca090e1a91cc964957eb38aee13657d74 (patch)
tree1b0aab8593a8cd375ceec372b31d67d88d6e3528
parent4122ade438a1718449337af8e1d24e81e67f3522 (diff)
libgles-omap3: fix typos in cpu detection script and pvr init
-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