ARM: bcm2835: Move the restart/power_off handling to the WDT driver
authorEric Anholt <eric@anholt.net>
Fri, 24 Apr 2015 19:08:54 +0000 (12:08 -0700)
committerLee Jones <lee.jones@linaro.org>
Thu, 14 May 2015 09:04:19 +0000 (10:04 +0100)
commit33a9f5bc1547b563b072b8ac1c453d861aeef0b8
tree315f93486e27adf5d213b9593d893fde2a661b1f
parentba9acf9c0f66e09b6947d96d517083736e1c60d0
ARM: bcm2835: Move the restart/power_off handling to the WDT driver

Since the WDT is what's used to drive restart and power off, it makes
more sense to keep it there, where the regs are already mapped and
definitions for them provided.  Note that this means you may need to
add CONFIG_BCM2835_WDT to retain functionality of your kernel.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/mach-bcm/board_bcm2835.c
drivers/watchdog/bcm2835_wdt.c