]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-graphics/libgles/libgles-omap3/cputype
task-ti-test: clean up machine specific bits, inherit allarch
[glsdk/meta-ti-glsdk.git] / recipes-graphics / libgles / libgles-omap3 / cputype
1 #!/bin/sh
2 . /etc/init.d/functions
4 if [ "$(machine_id)" = "ti8168evm" ] ; then
5         echo TI816x
6 else
7         devmem2 0x4800244c | \
8         grep 'Read at address' | \
9         sed -e 's/.*): //' | \
10         sed -e 's/0x00005C00/OMAP3503/' -e 's/0x00001C00/OMAP3515/' -e 's/0x00004C00/OMAP3525/' -e 's/0x00000C00/OMAP3530/'
11 fi