]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: Remove unnecessary ifdef around __omap2_set_globals
authorVaibhav Hiremath <hvaibhav@ti.com>
Thu, 5 Jul 2012 15:05:15 +0000 (08:05 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 5 Jul 2012 15:05:15 +0000 (08:05 -0700)
commitecc46cfdad7499a21296f0757059c4965f1fbc98
treec040dbcf69fc66b809893bfd4963fb72904be757
parent971b8a9c3eeb798f6201299728fdbb04ebb681c6
ARM: OMAP2+: Remove unnecessary ifdef around __omap2_set_globals

The function __omap2_set_globals() can be common across all
platforms/architectures, even in case of omap4, internally it
calls same set of functions as in __omap2_set_globals() function
(except for sdrc).
This patch adds new config flag SOC_HAS_OMAP2_SDRC to handle sdrc,
so that we can reuse same function across omap2/3/4...

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/common.c
arch/arm/mach-omap2/common.h