MIPS: AR7: use ar7_has_high_vlynq() to determine watchdog base address
authorFlorian Fainelli <florian@openwrt.org>
Tue, 11 May 2010 09:20:09 +0000 (11:20 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 21 May 2010 20:31:22 +0000 (21:31 +0100)
commit9c1b013a3951671e219c32ca056fc07381a9e113
tree225f47b9a7a8d00df23947b2a4524797b46061b1
parent3e1bf29f73ccb31b99215476b0278f477db1a247
MIPS: AR7: use ar7_has_high_vlynq() to determine watchdog base address

Instead of doing yet another switch/case on the chip_id, use existing
inline function to set the watchdog base address.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1211/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ar7/platform.c