android_kernel_xiaomi_sm8350/arch/arm/mach-mx2
Russell King be093beb60 [ARM] pass reboot command line to arch_reset()
OMAP wishes to pass state to the boot loader upon reboot in order to
instruct it whether to wait for USB-based reflashing or not.  There is
already a facility to do this via the reboot() syscall, except we ignore
the string passed to machine_restart().

This patch fixes things to pass this string to arch_reset().  This means
that we keep the reboot mode limited to telling the kernel _how_ to
perform the reboot which should be independent of what we request the
boot loader to do.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-03-19 16:20:24 +00:00
..
clock_imx21.c arm/imx21: clock support for i.MX21 2009-03-13 10:33:54 +01:00
clock_imx27.c [ARM] MX27 Clock rework 2009-03-13 10:33:51 +01:00
cpu_imx27.c [ARM] MX27 Clock rework 2009-03-13 10:33:51 +01:00
crm_regs.h arm/imx21: clock support for i.MX21 2009-03-13 10:33:54 +01:00
devices.c MX2: Add SDHC platform_devices and resources 2009-03-13 10:34:36 +01:00
devices.h MX2: Add SDHC platform_devices and resources 2009-03-13 10:34:36 +01:00
generic.c arm/imx2x: removes a bunch of sparse-warnings 2009-03-13 10:33:52 +01:00
Kconfig arm/imx: Kconfig beautification 2009-03-13 10:34:18 +01:00
Makefile arm/imx21: clock support for i.MX21 2009-03-13 10:33:54 +01:00
Makefile.boot arm/imx21: add kbuild support for the Freescale i.MX21 2009-03-13 10:33:45 +01:00
mx27ads.c [ARM] MX2: Add FEC platform device 2009-03-13 10:34:06 +01:00
pcm038.c [ARM] pcm038: Fix pins for UART3 2009-03-13 10:34:31 +01:00
pcm970-baseboard.c pcm970 baseboard: Add SDHC support 2009-03-13 10:34:39 +01:00
serial.c arm/imx2x: removes a bunch of sparse-warnings 2009-03-13 10:33:52 +01:00
system.c [ARM] pass reboot command line to arch_reset() 2009-03-19 16:20:24 +00:00