diff options
author | Tom Rini <trini@konsulko.com> | 2020-08-07 11:56:34 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-07 11:56:34 -0400 |
commit | 7d914bc76b18b644e27d0cf367e745fc2c4fe1c7 (patch) | |
tree | f5ee64f5bb7063bbd6450379d67359e4ad996286 /tools/fit_image.c | |
parent | 410cf5e05cbc62d183364c9172c439ea8536f3c4 (diff) | |
parent | c995d854efcbf54ebd99a41f9a3c918340f16376 (diff) |
Merge branch '2020-08-07-mkimage-improvements'
- Assorted mkimage improvements related to FIT images and verified boot
Diffstat (limited to 'tools/fit_image.c')
-rw-r--r-- | tools/fit_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c index f7d2f56029..06faeda7c2 100644 --- a/tools/fit_image.c +++ b/tools/fit_image.c @@ -606,8 +606,8 @@ static int fit_import_data(struct image_tool_params *params, const char *fname) continue; debug("Importing data size %x\n", len); - ret = fdt_setprop(fdt, node, "data", fdt + data_base + buf_ptr, - len); + ret = fdt_setprop(fdt, node, "data", + old_fdt + data_base + buf_ptr, len); if (ret) { debug("%s: Failed to write property: %s\n", __func__, fdt_strerror(ret)); |