diff options
author | Aaro Koskinen <Aaro.Koskinen@nokia.com> | 2010-02-26 10:25:28 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-03-11 14:50:00 -0800 |
commit | 29b9a218d0be8e207ddeacdc68eb1e4b7f54b85a (patch) | |
tree | 766e499c9996f476efee31dee65a6147db40e717 /crypto/pcompress.c | |
parent | 26e4248359c6bf2da4a07767f6e12f1df426ab0a (diff) |
omap: pass the reboot command to the boot loader
This patch follows the commit be093beb608edf821b45fe00a8a080fb5c6ed4af
by Russell King:
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().
The patch adds the missing parameter to omap1_arch_reset() and
omap_prcm_arch_reset(), and modifies the latter to pass the reboot
command parameter to the boot loader instead of reboot mode (which is
for kernel internal use only and cannot be modified by the userspace).
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'crypto/pcompress.c')
0 files changed, 0 insertions, 0 deletions