mx6: soc: update get_cpu_rev and get_imx_type for mx6solo/sololite
authorTroy Kisky <troy.kisky@boundarydevices.com>
Tue, 23 Oct 2012 10:57:46 +0000 (10:57 +0000)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Nov 2012 07:15:40 +0000 (08:15 +0100)
commit20332a066aff98f39419495821e14edd10b2a3f8
treea50b4c4ee5150a4d3b127664ddc063fc0f8cc2b6
parent3e4d27b06d7484040355e22eec2cbce7335d6dab
mx6: soc: update get_cpu_rev and get_imx_type for mx6solo/sololite

Previously, the same value was returned for both mx6dl and mx6solo.
Check number of processors to differeniate.
Also, a freescale patch says that sololite has its cpu/rev
stored at 0x280 instead of 0x260.
I don't have a sololite to verify.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/imx-common/cpu.c
arch/arm/include/asm/arch-mx5/sys_proto.h
arch/arm/include/asm/arch-mx6/imx-regs.h
arch/arm/include/asm/arch-mx6/sys_proto.h