• Andrew Lunn's avatar
    ARM: Orion: Fix Virtual/Physical mixup with watchdog · 0fa1f060
    Andrew Lunn authored
    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: default avatarAndrew Lunn <andrew@lunn.ch>
    Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
    0fa1f060
common.c 24.7 KB