ARM: kirkwood: ioremap the cpu_config register before using it.
authorAndrew Lunn <andrew@lunn.ch>
Sat, 22 Feb 2014 19:14:48 +0000 (20:14 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sat, 22 Feb 2014 20:41:24 +0000 (20:41 +0000)
commit7f28fd6ebebb70eb2412f2775f2a19e3834601f6
tree2ad3ba279b32c6ba1742e8bf31106d28bf43b798
parentdab7dfb6c0e23d5fab56824e40795872c13afc1c
ARM: kirkwood: ioremap the cpu_config register before using it.

With the move to mach-mvebu and MULTI_V5, the global iomap for all
registers will be going away. So explicitly map the CPU configuration
register before using it.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-kirkwood/board-dt.c
arch/arm/mach-kirkwood/include/mach/bridge-regs.h