Watchdog: allow orion_wdt to be built for Dove
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 18 Jun 2013 16:19:32 +0000 (17:19 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 20:17:56 +0000 (22:17 +0200)
commitfa142ff5b3f67fab01f3d02a501b041b4266afdd
tree349eefb8a6b56714b8ff898c8d179980736d96d9
parent938d0a840d0f97b627111fd038a735f3924fd987
Watchdog: allow orion_wdt to be built for Dove

The watchdog infrastructure in Dove is no different from that in
Orion5x or Kirkwood, so let's enable it for Dove.  The only things
missing are a few register settings in Dove's bridge-regs.h.

Rather than duplicating the same register bit masks for the RSTOUTn_MASK
and BRIDGE_CAUSE registers, move the definitions into the watchdog
driver itself.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
arch/arm/mach-dove/include/mach/bridge-regs.h
arch/arm/mach-kirkwood/include/mach/bridge-regs.h
arch/arm/mach-orion5x/include/mach/bridge-regs.h
drivers/watchdog/Kconfig
drivers/watchdog/orion_wdt.c