ARM: OMAP4+: Initialize SAR RAM base early for proper CPU1 reset for kexec
authorTony Lindgren <tony@atomide.com>
Wed, 22 Jun 2016 08:59:39 +0000 (01:59 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 23 Jun 2016 05:55:47 +0000 (22:55 -0700)
commitf4b9f40ae95bad3df68d4a9b275714ef04abb1b5
treef8340db3802edb41fcbd24b7d2050a24076a5b17
parent99eb45f98c1355998bc2b0bd83e51f79e6d2d0b4
ARM: OMAP4+: Initialize SAR RAM base early for proper CPU1 reset for kexec

Prepare things for making kexec work on SMP omap variants by initializing
SARM RAM base early. This allows us to configure CPU1 for kexec in case
the previous kernel has put CPU1 in low power mode.

Note that this should not prevent moving other SAR RAM code to live
under drivers. However for kexec, we will need this very early.

Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap4-common.c