]> Pileus Git - ~andy/linux/commit
arm: mvebu: don't hardcode a physical address in headsmp.S
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 Jun 2013 10:24:28 +0000 (12:24 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 13 Jun 2013 17:48:40 +0000 (17:48 +0000)
commit580ff0eea15c341d17d564f7e5c519df37033d8e
treef3572705e6f41aab6d06fae867ed266ab7fbb0cc
parent488275beda149fe5cffdf5aa457344aa619d54f1
arm: mvebu: don't hardcode a physical address in headsmp.S

Now that the coherency_init() function is called a bit earlier, we can
actually read the physical address of the coherency unit registers
from the Device Tree, and communicate that to the headsmp.S code,
which avoids hardcoding a physical address.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/coherency.c
arch/arm/mach-mvebu/headsmp.S