aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-vt8500
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-06-05 09:04:59 +0200
committerJason Cooper <jason@lakedaemon.net>2013-06-13 17:48:46 +0000
commitd834d26ae250783a24abaac3e906a6e563a7018f (patch)
tree831e7fa96ec758e9baa527520eae03a5a3232b4b /arch/arm/mach-vt8500
parent580ff0eea15c341d17d564f7e5c519df37033d8e (diff)
arm: mvebu: don't hardcode the physical address for mvebu-mbus
Since the mvebu-mbus driver doesn't yet have a DT binding (and this DT binding may not necessarily be ready for 3.11), the physical address of the mvebu-mbus registers are currently hardcoded. This doesn't play well with the fact that the internal registers base address may be different depending on the bootloader. In order to have only one central place for the physical address of the internal registers, we now use of_translate_address() to translate the mvebu-mbus register offsets into the real physical address, by using DT-based address translation. This will go away once the mvebu-mbus driver gains a proper DT binding. 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>
Diffstat (limited to 'arch/arm/mach-vt8500')
0 files changed, 0 insertions, 0 deletions