[U-Boot] [PATCH] fdt: allow address translation in case of SPL_OF_TRANSLATE

Vikas MANOCHA vikas.manocha at st.com
Thu Mar 30 16:39:27 UTC 2017


Hi Igor,

> -----Original Message-----
> From: Igor Grinberg [mailto:grinberg at compulab.co.il]
> Sent: Thursday, March 30, 2017 1:59 AM
> To: Vikas MANOCHA <vikas.manocha at st.com>; u-boot at lists.denx.de
> Subject: Re: [U-Boot] [PATCH] fdt: allow address translation in case of SPL_OF_TRANSLATE
> 
> Hi,
> 
> Please provide a commit message.

Ok, I will send v2 with commit message.

Cheers,
Vikas

> 
> On 03/25/17 01:19, Vikas Manocha wrote:
> > Signed-off-by: Vikas Manocha <vikas.manocha at st.com>
> > ---
> >  lib/fdtdec.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 81f47ef..a1c4d16 100644
> > --- a/lib/fdtdec.c
> > +++ b/lib/fdtdec.c
> > @@ -112,7 +112,7 @@ fdt_addr_t fdtdec_get_addr_size_fixed(const void *blob, int node,
> >  		return FDT_ADDR_T_NONE;
> >  	}
> >
> > -#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_OF_LIBFDT)
> > +#if defined(CONFIG_SPL_OF_TRANSLATE) || defined(CONFIG_OF_LIBFDT)
> >  	if (translate)
> >  		addr = fdt_translate_address(blob, node, prop_addr);
> >  	else
> >
> 
> --
> Regards,
> Igor.


More information about the U-Boot mailing list