[U-Boot] [PATCH v2] dm: core: Enable optional use of fdt_translate_address()

Thomas Chou thomas at wytron.com.tw
Tue Sep 15 09:31:05 CEST 2015


Hi Stefan,

On 09/04/2015 01:11 PM, Stefan Roese wrote:
> 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 at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
> v2:
> - Rework code a bit as suggested by Simon. Also added some comments
>    to make the use of the code paths more clear.
>

It works great on nios2 board. Thanks a lot.

Tested-by: Thomas Chou <thomas at wytron.com.tw>

Best regards,
Thomas Chou


More information about the U-Boot mailing list