diff options
author | Tom Rini <trini@konsulko.com> | 2019-07-29 17:59:51 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-29 17:59:51 -0400 |
commit | de17e1fc03d97d420e9cb59f3a4d0f17c8bdcce5 (patch) | |
tree | 3b2d1e382ee75a3d2141d902395c9f3d5f49904e /scripts | |
parent | 333755ef7b6f824366eed37ae068c20a4f25a123 (diff) | |
parent | 4f4fb85ec0bfe45da11aa23ada565387ee676e80 (diff) | |
download | u-boot-de17e1fc03d97d420e9cb59f3a4d0f17c8bdcce5.zip u-boot-de17e1fc03d97d420e9cb59f3a4d0f17c8bdcce5.tar.gz u-boot-de17e1fc03d97d420e9cb59f3a4d0f17c8bdcce5.tar.bz2 |
Merge tag 'dm-pull-29jul19' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
binman support for replacing files
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/dtc/libfdt/fdt_sw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dtc/libfdt/fdt_sw.c b/scripts/dtc/libfdt/fdt_sw.c index 6d33cc2..d8ef748 100644 --- a/scripts/dtc/libfdt/fdt_sw.c +++ b/scripts/dtc/libfdt/fdt_sw.c @@ -114,7 +114,7 @@ int fdt_resize(void *fdt, void *buf, int bufsize) FDT_SW_CHECK_HEADER(fdt); - headsize = fdt_off_dt_struct(fdt); + headsize = fdt_off_dt_struct(fdt) + fdt_size_dt_struct(fdt); tailsize = fdt_size_dt_strings(fdt); if ((headsize + tailsize) > bufsize) |