diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-06-05 09:04:59 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-06-13 17:48:46 +0000 |
commit | d834d26ae250783a24abaac3e906a6e563a7018f (patch) | |
tree | 831e7fa96ec758e9baa527520eae03a5a3232b4b /arch/xtensa/mm | |
parent | 580ff0eea15c341d17d564f7e5c519df37033d8e (diff) | |
download | talos-obmc-linux-d834d26ae250783a24abaac3e906a6e563a7018f.tar.gz talos-obmc-linux-d834d26ae250783a24abaac3e906a6e563a7018f.zip |
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/xtensa/mm')
0 files changed, 0 insertions, 0 deletions