linux/arch/arm/plat-spear/include/plat
Russell King e879c862fb ARM: restart: only perform setup for restart when soft-restarting
We only need to set the system up for a soft-restart if we're going to
be doing a soft-restart.  Provide a new function (soft_restart()) which
does the setup and final call for this, and make platforms use it.
Eliminate the call to setup_restart() from the default handler.

This means that platforms arch_reset() function is no longer called with
the page tables prepared for a soft-restart, and caches will still be
enabled.

Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Krzysztof Ha■asa <khc@pm.waw.pl>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Acked-by: Wan ZongShun <mcuos.com@gmail.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-11-21 09:47:48 +00:00
..
clock.h Merge branches 'consolidate', 'ep93xx', 'fixes', 'misc', 'mmci', 'remove' and 'spear' into for-linus 2011-05-23 19:27:40 +01:00
debug-macro.S ARM: add an extra temp register to the low level debugging addruart macro 2011-09-26 10:11:25 -04:00
gpio.h ARM: gpio: make trivial GPIOLIB implementation the default 2011-08-12 08:54:19 +01:00
hardware.h ARM: 6677/1: SPEAr: add IOMEM(x) definition and update declaration of MISC_BASE 2011-03-09 09:49:44 +00:00
io.h
keyboard.h Input: add support for keyboards on ST SPEAr platform 2010-11-19 12:43:25 -08:00
padmux.h ARM: 6020/1: ST SPEAr: Adding gpio pad multiplexing support 2010-04-14 11:34:38 +01:00
shirq.h ARM: 6091/1: ST SPEAr: Adding support for shared irq layer 2010-05-04 16:54:54 +01:00
system.h ARM: restart: only perform setup for restart when soft-restarting 2011-11-21 09:47:48 +00:00
timex.h
uncompress.h ARM: 6788/1: SPEAr: Include mach/hardware.h instead of mach/spear.h 2011-03-09 09:49:45 +00:00
vmalloc.h ARM: 6720/1: SPEAr: Append UL to VMALLOC_END 2011-02-21 19:29:20 +00:00