ARM: OMAP2+: split omap2/3/4_check_revision function
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 19 Dec 2011 10:20:15 +0000 (15:50 +0530)
committerTony Lindgren <tony@atomide.com>
Mon, 19 Dec 2011 23:47:14 +0000 (15:47 -0800)
commit4de34f3572882fd0a0e655cda494577c22663215
treebacfc1653577ac6470d7e99e7d1c21931157dc80
parent50a01e6440020877c2f71bc5ac4d818d9b8f31c1
ARM: OMAP2+: split omap2/3/4_check_revision function

We need to detect the SoC revision early, but the SoC
feature detection can be done later on. In order to allow
further clean-up later on, this patch separates the SoC
revision check from the SoC feature check.

This patch doesn't change functionality or behavior of the code
execution; it barely cleans up the code and splits into SoC
specific implementation for Rev ID and feature detection.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/id.c
arch/arm/mach-omap2/io.c
arch/arm/plat-omap/include/plat/cpu.h