OSDN Git Service

ARM: Orion: Fix Virtual/Physical mixup with watchdog
authorAndrew Lunn <andrew@lunn.ch>
Fri, 22 Jun 2012 06:54:02 +0000 (08:54 +0200)
committerOlof Johansson <olof@lixom.net>
Sat, 23 Jun 2012 23:19:21 +0000 (16:19 -0700)
commit0fa1f0609a0c1fe8b2be3c0089a2cb48f7fda521
tree2e3a9eaab2c84de0a77c6afa97733d22e4e8fb90
parent5fb2ce119c113e5c987fa81ed89e73b2653e28e4
ARM: Orion: Fix Virtual/Physical mixup with watchdog

The orion watchdog is expecting to be passed the physcial address of
the hardware, and will ioremap() it to give a virtual address it will
use as the base address for the hardware. However, when creating the
platform resource record, a virtual address was being used.

Add the necassary #define's so we can pass the physical address as
expected.

Tested on Kirkwood and Orion5x.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-kirkwood/include/mach/bridge-regs.h
arch/arm/mach-kirkwood/include/mach/kirkwood.h
arch/arm/mach-orion5x/include/mach/bridge-regs.h
arch/arm/mach-orion5x/include/mach/orion5x.h
arch/arm/plat-orion/common.c