]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45af386004ce91f71662b123931b54eff8752ee7
tree349eefb8a6b56714b8ff898c8d179980736d96d9
parent36dcf7a1862aad4268483ee6f807f884d91a9021
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