ARM: OMAP2+: id: Add am33xx SoC type detection
authorAfzal Mohammed <afzal@ti.com>
Tue, 6 Mar 2012 00:11:01 +0000 (16:11 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 6 Mar 2012 00:11:01 +0000 (16:11 -0800)
commitfb3cfb1ff9745e0c3aab92cc141c1b353839b0ab
treece5911619f67f2994e1c50e0cb41e96820c07abb
parentf611b020e74a41fb6460a5d5ca085d0c361b8b2f
ARM: OMAP2+: id: Add am33xx SoC type detection

Determine SoC type, i.e. whether GP or HS

Note: cpu_is_34xx() is true for am33xx also. Doing
cpu_is_am33xx() check after cpu_is_34xx() will not
achieve what we want due to the above reason.
Hence cpu_is_am33xx() is done before cpu_is_34xx()

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/control.h
arch/arm/mach-omap2/id.c