"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Alice Guo and committed by
Tom Rini
f3ee5872 fb4a488e

+1 -1
+1 -1
tools/imx8image.c
··· 1146 1146 fprintf(stdout, "CONTAINER SW VERSION:\t0x%04x\n", sw_version); 1147 1147 1148 1148 build_container(soc, sector_size, emmc_fastboot, 1149 - img_sp, false, fuse_version, sw_version, outfd); 1149 + img_sp, dcd_skip, fuse_version, sw_version, outfd); 1150 1150 1151 1151 return 0; 1152 1152 }