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)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 14 Apr 2014 00:23:53 +0000 (03:23 +0300)
commitc21d66ba2605ec0d81e6ff755f5cab59a06b650e
treeb20aa8b4ea543b0e35417903286613b64e93f9b6
parent35424e5318acc890644e3bb8513f353e395e002f
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>
Conflicts:

arch/arm/mach-omap2/id.c
arch/arm/mach-omap2/io.c
arch/arm/plat-omap/include/plat/cpu.h
arch/arm/mach-omap2/id.c
arch/arm/mach-omap2/io.c
arch/arm/plat-omap/include/plat/cpu.h