ARM: OMAP3+: am33xx id: Add new am33xx specific function to check dev_feature
authorVaibhav Hiremath <hvaibhav@ti.com>
Fri, 17 May 2013 10:13:41 +0000 (15:43 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 18 Jun 2013 10:04:07 +0000 (03:04 -0700)
commit7bcad170154f1302aeeced4f236588091a261fbf
tree19f6074a8fffab88ee6c2fbbcc86ba2102f0430b
parentc3ed359c66d49ed59139c61a6284452e94efb215
ARM: OMAP3+: am33xx id: Add new am33xx specific function to check dev_feature

Layout of DEV_FEATURE register (offset = 0x604) is different
between TI81xx and AM33xx device, so create separate function
which will check for features available on specific AM33xx SoC
and set the flags accordingly.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/control.h
arch/arm/mach-omap2/id.c
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/soc.h