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

Vince Hsu vinceh at nvidia.com
Mon Dec 1 14:21:22 CET 2014


Hi,

On 11/28/2014 09:23 PM, 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>
> ---
> Changes in v2:
> -Improved patch subject
> -s/_len/_cells/ to indicated that adress_cells and size_cells are in cells now
> ---

I just hit this problem on jetson tk1 and tried the same fix. So

Tested-by: Vince Hsu <vinceh at nvidia.com>

Thanks,
Vince

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------


More information about the U-Boot mailing list