]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/core/device.c
dm: core: Enable optional use of fdt_translate_address()
authorStefan Roese <sr@denx.de>
Wed, 2 Sep 2015 05:41:12 +0000 (07:41 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Wed, 21 Oct 2015 00:25:01 +0000 (02:25 +0200)
commitef5cd33064f83db6f6cfe774ecdb36e32ac1d232
tree3796637b5662df34940d24fcd25f54ecf6300db8
parent42cc034f19d30a3e0f1a63788347e039315806a0
dm: core: Enable optional use of fdt_translate_address()

The current "simple" address translation simple_bus_translate() is not
working on some platforms (e.g. MVEBU). As here more complex "ranges"
properties are used in many nodes (multiple tuples etc). This patch
enables the optional use of the common fdt_translate_address() function
which handles this translation correctly.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/core/Kconfig
drivers/core/device.c