[U-Boot] [PATCH 1/2] nios2: remap and translate reg address in device tree

Marek Vasut marex at denx.de
Sun Sep 13 15:39:05 CEST 2015


On Sunday, September 13, 2015 at 10:32:09 AM, Thomas Chou wrote:
> As the io space remapping ioremap() and bridge address
> translation fdt_translate_address() are not usually used
> in u-boot driver model by dev_get_addr(). We would better
> convert the reg address map in the device tree of nios2
> boards, so that it is io mapped and bridge translated.
> 
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>

I'm not opposed.

btw. It might be just about time to split the DT bits into nios2.dtsi
and nios2_3c120_devboard.dts , where the former would contain the
generic bits of the binding and the later would only fill in the
necessary address ranges and such. I do understand though, that the
problem here might be that the hardware is just too flexible.

Best regards,
Marek Vasut


More information about the U-Boot mailing list