[U-Boot] [PATCH v2] fdt: Fix regression in fdt_pack_reg()

Masahiro YAMADA yamada.m at jp.panasonic.com
Fri Nov 28 17:46:10 CET 2014


2014-11-28 22:23 GMT+09:00 Hans de Goede <hdegoede at redhat.com>:
> 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>


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




-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list