• Aaro Koskinen's avatar
    omap: pass the reboot command to the boot loader · 29b9a218
    Aaro Koskinen authored
    This patch follows the commit be093beb
    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: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    29b9a218
prcm.h 1.63 KB