ARM: mvebu: allow to fixup mbus ranges
On Marvell MVEBU SoCs internal registers are usually remapped from reset
default. While Dove and Kirkwood always had their registers remapped,
some Armada 370 and XP where shipped with bootloaders that did not remap
them.

On Barebox these registers are remapped early and on all MVEBU SoCs, so
provided DTs should always reflect that in their mbus ranges property.

This patch registers a fixup for DTBs and allows individual SoCs to add
specific remap ranges to the fixup list. The fixup is registered on
pure_initcall to even allow to fixup pbl or appended DTBs.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5f1c610 commit 315e1a41385dd8a226117f974f4573da625882e6
@Sebastian Hesselbarth Sebastian Hesselbarth authored on 23 Jul 2014
Sascha Hauer committed on 25 Jul 2014
Showing 2 changed files
View
drivers/bus/mvebu-mbus.c
View
include/linux/mbus.h