repo.or.cz
/
openembedded.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libgles-omap3: detect cpu type and don't load modules if no SGX hardware
[openembedded.git]
/
recipes
/
powervr-drivers
/
libgles-omap3
/
cputype
blob
31fc89b8e1ce6fe886715577969383574c14e0f0
1
#!/bin/sh
2
devmem2
0x4800244c
| \
3
grep
'Value at address'
| \
4
sed
-e
's/.*): //'
| \
5
sed
-e
's/0x5C00/OMAP3503/'
-e
's/0x1C00/OMAP3515/'
-e
's/0x4C00/OMAP3525/'
-e
's/0x0C00/OMAP3530/'