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

Simon Glass sjg at chromium.org
Sun Nov 30 04:05:18 CET 2014


On 28 November 2014 at 06:23, Hans de Goede <hdegoede at redhat.com> 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
> ---

Thanks for fixing this.

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list