diff options
author | Alice Guo <alice.guo@nxp.com> | 2025-06-24 18:09:22 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-24 07:50:12 -0600 |
commit | f3ee5872bf67e8e15b3a3f131b8eb64251508c08 (patch) | |
tree | 57e6cf9b00b55928a6a74dedd67b0f2f733fb2c9 | |
parent | fb4a488eb91b089912ffbc9a74d0527f0f2c79ac (diff) |
tools: imx8image: Fix the value passed to dcd_skip of build_container()
The value passed to dcd_skip of build_container() should be obtained by
parsing .cfg file, and should not be fixed to false. For i.MX8QXP, dcd
data needs to be skipped, in which case dcd_skip should be true.
Fixes: 5f28a6599f01("tools: imx8image: add i.MX95 support")
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reported-by: Enric Balletbo i Serra <eballetb@redhat.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
-rw-r--r-- | tools/imx8image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imx8image.c b/tools/imx8image.c index a333ded46e2..cad55fd3cf2 100644 --- a/tools/imx8image.c +++ b/tools/imx8image.c @@ -1146,7 +1146,7 @@ int imx8image_copy_image(int outfd, struct image_tool_params *mparams) fprintf(stdout, "CONTAINER SW VERSION:\t0x%04x\n", sw_version); build_container(soc, sector_size, emmc_fastboot, - img_sp, false, fuse_version, sw_version, outfd); + img_sp, dcd_skip, fuse_version, sw_version, outfd); return 0; } |