[U-Boot] [PATCH] ftd_support: Fix regression causes by "fdt: Try to use fdt_address_cells()/fdt_size_cells()"

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Nov 28 08:43:38 CET 2014


Hi.



> On 2014-11-27 11:16, Hans de Goede wrote:
> > After commit 933cdbb479: "fdt: Try to use fdt_address_cells()/fdt_size_cells()"
> > I noticed that allwinner boards would no longer boot.
> > 
> > Switching to fdt_address_cells / fdt_size_cells changes the result from
> > bytes to 32 bit words, so when we increment pointers into the blob, we must
> > do so by 32 bit words now.
> > 
> > This commit makes allwinner boards boot again.
> > 
> > Signed-off-by: Hans de Goede <hdegoede at redhat.com>


This patch solved my Linux-boot problem as well.

Tested-by: Masahiro Yamada <yamada.m at jp.panasonic.com>



> 
> I would suggest to fix the variable names, too: address_cells and
> size_cells.

Agreed.


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list