omap3: Runtime detection of Si features
authorSanjeev Premi <premi@ti.com>
Sun, 22 Nov 2009 18:10:53 +0000 (10:10 -0800)
committerTony Lindgren <tony@atomide.com>
Sun, 22 Nov 2009 18:24:32 +0000 (10:24 -0800)
commit8384ce071365244332ea05c81112bfffcf48be87
tree5a6f076c6cef8d526b4429e17a64fd73dd63132c
parent45f780a06153544ab84fd1da3a8b28c07f61da1d
omap3: Runtime detection of Si features

The OMAP35x family has multiple variants differing
in the HW features. This patch detects these features
at runtime and prints information during the boot.

Since most of the code seemed repetitive, macros
have been used for readability.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/id.c
arch/arm/plat-omap/include/plat/control.h
arch/arm/plat-omap/include/plat/cpu.h