diff options
author | Aaro Koskinen <Aaro.Koskinen@nokia.com> | 2010-02-26 13:25:28 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-03-12 01:50:00 +0300 |
commit | 29b9a218d0be8e207ddeacdc68eb1e4b7f54b85a (patch) | |
tree | 766e499c9996f476efee31dee65a6147db40e717 /arch/arm/plat-omap/include/plat/prcm.h | |
parent | 26e4248359c6bf2da4a07767f6e12f1df426ab0a (diff) | |
download | linux-29b9a218d0be8e207ddeacdc68eb1e4b7f54b85a.tar.xz |
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 'arch/arm/plat-omap/include/plat/prcm.h')
-rw-r--r-- | arch/arm/plat-omap/include/plat/prcm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/prcm.h b/arch/arm/plat-omap/include/plat/prcm.h index d6a0e27d5a7f..9fbd91419cd1 100644 --- a/arch/arm/plat-omap/include/plat/prcm.h +++ b/arch/arm/plat-omap/include/plat/prcm.h @@ -24,7 +24,7 @@ #define __ASM_ARM_ARCH_OMAP_PRCM_H u32 omap_prcm_get_reset_sources(void); -void omap_prcm_arch_reset(char mode); +void omap_prcm_arch_reset(char mode, const char *cmd); int omap2_cm_wait_idlest(void __iomem *reg, u32 mask, u8 idlest, const char *name); |