[U-Boot] [PATCH v2 1/3] nios2: map physical address to uncached virtual address

Simon Glass sjg at chromium.org
Fri Oct 2 00:49:30 CEST 2015


Hi,

On Sunday, 13 September 2015, Marek Vasut <marex at denx.de> wrote:
>
> On Sunday, September 13, 2015 at 03:40:04 PM, Thomas Chou wrote:
> > Add ioremap() to map physical address to uncached virtual
> > address. We need this to convert the reg address from the
> > device tree.
> >
> > The order of headers inclusion in interrupts.c is changed
> > because common.h will include board header that contains
> > IO_REGION_BASE.
> >
> > In the future, the IO_REGION_BASE should be decided from
> > the device tree.
> >
> > Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
>
> This is good :)
>
> Acked-by: Marek Vasut <marex at denx.de>
>
Can we not rely on the 'ranges' property to sort this out?

Regards,
Simon


More information about the U-Boot mailing list