summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-11-28 14:23:51 +0100
committerSimon Glass <sjg@chromium.org>2014-12-01 08:23:32 -0700
commitffccb84c1a8e276fa7263ec4ca8186f06312305c (patch)
tree31d27d73b71d33abeabf512c8131c02637b05159 /lib/fdtdec.c
parent0bd4e39d2ba477f3c274aa233f5c2e1d25dbaa74 (diff)
fdt: Fix regression in fdt_pack_reg()
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@redhat.com> Tested-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Stefan Roese <sr@denx.de> Tested-by: Vince Hsu <vinceh@nvidia.com>
Diffstat (limited to 'lib/fdtdec.c')
0 files changed, 0 insertions, 0 deletions