]> 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)
commit96c6c441aa0045acabd9e4dfa0be68b78393ad5a
tree349eefb8a6b56714b8ff898c8d179980736d96d9
parentf11cccc0df75152011a452b55ec2e77d7f28f474
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