summaryrefslogtreecommitdiff
path: root/kernel/Kconfig.locks
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2014-09-09 15:13:14 +0200
committerArnd Bergmann <arnd@arndb.de>2014-09-10 17:25:14 +0200
commit01100c022df5d9b8ac56d3705e33e69dc012a6e2 (patch)
tree28b91fead017b35b735b995c7ada4146e1ce7859 /kernel/Kconfig.locks
parent8013e8c7117d9d54e84d80480b105f80603d9945 (diff)
ARM: LPC32xx: Fix reset function
In the recent change to the reset function API (commit 7b6d864b48d95e6ea1df7df64475b9cb9616dcf9), the mode argument changed from a char to an enum. lpc23xx_restart() only handles REBOOT_SOFT and REBOOT_HARD, but the new kernel code emits REBOOT_COLD (0) on reboots now which leads to lpc32xx simply not rebooting (but halting). This patch fixes this by just resetting unconditionally as on other platforms (e.g. mach-bcm2835). Pulling lpc32xx_watchdog_reset() into lpc23xx_restart() since the while() in lpc23xx_restart() is part of the procedure anyway and lpc32xx_watchdog_reset() isn't used anywhere else anymore. Signed-off-by: Roland Stigge <stigge@antcom.de>
Diffstat (limited to 'kernel/Kconfig.locks')
0 files changed, 0 insertions, 0 deletions