]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: integrator: ensure ap_syscon_base is initialised when !CONFIG_MMU
authorWill Deacon <will.deacon@arm.com>
Wed, 6 Feb 2013 18:25:12 +0000 (18:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:38 +0000 (05:38 -0800)
commit9165cb49782ac3321827334fd8a4d912bc902157
tree47198e547ffee98951391e762d33d070afe1c460
parent4622b3b7c0269bd2da531ea5949cadff98522da9
ARM: integrator: ensure ap_syscon_base is initialised when !CONFIG_MMU

commit ab2a724a2ef9cee5957692257a5d1f08fd7acbbd upstream.

When running on Integrator/AP using atags, ap_syscon_base is initialised
in ->map_io, which isn't called for !MMU platforms.

Instead, initialise the pointer in ->machine_init, as we do when booting
with device-tree.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-integrator/integrator_ap.c