[PATCH 2/2] fdtdec: Honor #address-cells and #size-cells in fdtdec_add_reserved_memory()
    Bin Meng 
    bmeng.cn at gmail.com
       
    Thu May 21 04:18:20 CEST 2020
    
    
  
Hi Simon,
On Wed, May 20, 2020 at 10:20 PM Simon Glass <sjg at chromium.org> wrote:
>
> Hi Bin,
>
> On Wed, 20 May 2020 at 00:38, Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > From: Bin Meng <bin.meng at windriver.com>
> >
> > At present fdtdec_add_reserved_memory() calls fdtdec_get_addr_size()
> > to get address and size for the subnodes of /reserved-memory node.
> >
> > We should honor #address-cells and #size-cells properties in the
> > parent node.
> >
> > Signed-off-by: Bin Meng <bin.meng at windriver.com>
> > ---
> >
> >  lib/fdtdec.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> Are there no tests for this?
There is currently no tests for this unforuatunately.
Regards,
Bin
    
    
More information about the U-Boot
mailing list