linux/arch/arm/mach-mvebu
Thomas Petazzoni 865e0527d2 arm: mvebu: avoid hardcoded virtual address in coherency code
Now that the coherency_get_cpu_count() function no longer requires a
very early mapping of the coherency unit registers, we can avoid the
hardcoded virtual address in coherency.c. However, the coherency
features are still used quite early, so we need to do the of_iomap()
early enough, at the ->init_timer() level, so we have the call of
coherency_init() at this point.

Unfortunately, at ->init_timer() time, it is not possible to register
a bus notifier, so we add a separate coherency_late_init() function
that gets called as as postcore_initcall(), when bus notifiers are
available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2013-06-13 17:48:20 +00:00
..
include/mach Merge branch 'kirkwood/drivers' of git://git.infradead.org/users/jcooper/linux into late/kirkwood 2012-09-22 14:23:11 -07:00
armada-370-xp.c arm: mvebu: avoid hardcoded virtual address in coherency code 2013-06-13 17:48:20 +00:00
armada-370-xp.h ARM: mvebu: Align the internal registers virtual base to support LPAE 2013-04-15 14:06:59 +00:00
coherency_ll.S arm: mvebu: Add support for coherency fabric in mach-mvebu 2012-11-21 16:49:06 +01:00
coherency.c arm: mvebu: avoid hardcoded virtual address in coherency code 2013-06-13 17:48:20 +00:00
coherency.h arm: mvebu: remove dependency of SMP init on static I/O mapping 2013-06-13 17:48:13 +00:00
common.h arm: mvebu: remove dependency of SMP init on static I/O mapping 2013-06-13 17:48:13 +00:00
headsmp.S arm: mvebu: Add SMP support for Armada XP 2012-11-21 16:49:38 +01:00
hotplug.c arm: mvebu: Add SMP support for Armada XP 2012-11-21 16:49:38 +01:00
Kconfig ARM: mvebu: select ARCH_REQUIRE_GPIOLIB for mvebu platform 2013-05-19 19:38:59 +00:00
Makefile ARM: arm-soc: late cleanups 2013-05-07 11:22:14 -07:00
platsmp.c arm: mvebu: remove dependency of SMP init on static I/O mapping 2013-06-13 17:48:13 +00:00
pmsu.c arm: mvebu: Add initial support for power managmement service unit 2012-11-21 16:49:36 +01:00
pmsu.h arm: mvebu: Add initial support for power managmement service unit 2012-11-21 16:49:36 +01:00
system-controller.c