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

Simon Glass sjg at chromium.org
Mon Sep 14 14:39:06 CEST 2015


+Stefan

Hi,

On 13 September 2015 at 07:39, Marek Vasut <marex at denx.de> wrote:
> 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.

Please do check the patch under discussion here:

http://patchwork.ozlabs.org/patch/513313/

Does it solve your problem?

Regards,
Simon


More information about the U-Boot mailing list