diff options
author | Afzal Mohammed <afzal@ti.com> | 2012-03-05 19:11:01 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-03-05 19:11:01 -0500 |
commit | fb3cfb1ff9745e0c3aab92cc141c1b353839b0ab (patch) | |
tree | ce5911619f67f2994e1c50e0cb41e96820c07abb /arch/arm/mach-omap2/control.h | |
parent | f611b020e74a41fb6460a5d5ca085d0c361b8b2f (diff) |
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>
Diffstat (limited to 'arch/arm/mach-omap2/control.h')
-rw-r--r-- | arch/arm/mach-omap2/control.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/control.h b/arch/arm/mach-omap2/control.h index 0ba68d3764bc..96c4bcc0a75c 100644 --- a/arch/arm/mach-omap2/control.h +++ b/arch/arm/mach-omap2/control.h | |||
@@ -339,6 +339,11 @@ | |||
339 | #define AM35XX_VPFE_PCLK_SW_RST BIT(4) | 339 | #define AM35XX_VPFE_PCLK_SW_RST BIT(4) |
340 | 340 | ||
341 | /* | 341 | /* |
342 | * CONTROL AM33XX STATUS register | ||
343 | */ | ||
344 | #define AM33XX_CONTROL_STATUS 0x040 | ||
345 | |||
346 | /* | ||
342 | * CONTROL OMAP STATUS register to identify OMAP3 features | 347 | * CONTROL OMAP STATUS register to identify OMAP3 features |
343 | */ | 348 | */ |
344 | #define OMAP3_CONTROL_OMAP_STATUS 0x044c | 349 | #define OMAP3_CONTROL_OMAP_STATUS 0x044c |