Commit 419f96ef authored by Peng Fan's avatar Peng Fan Committed by Jason Liu
Browse files

MLK-15303: imx8m: fix out of tree build



Fix out of tree build.
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent f3565908
......@@ -203,8 +203,8 @@ $(obj)/$(SPL_BIN).bin: $(obj)/$(SPL_BIN)-dtb.bin FORCE
else
ifdef CONFIG_ARCH_IMX8M
$(obj)/$(SPL_BIN).bin: $(obj)/$(SPL_BIN)-nodtb.bin FORCE
objcopy -I binary -O binary --pad-to 0x8000 --gap-fill=0x0 lpddr4_pmu_train_imem.bin lpddr4_pmu_train_imem_pad.bin
cat lpddr4_pmu_train_imem_pad.bin lpddr4_pmu_train_dmem.bin > lpddr4_pmu_train_fw.bin
objcopy -I binary -O binary --pad-to 0x8000 --gap-fill=0x0 $(srctree)/lpddr4_pmu_train_imem.bin lpddr4_pmu_train_imem_pad.bin
cat lpddr4_pmu_train_imem_pad.bin $(srctree)/lpddr4_pmu_train_dmem.bin > lpddr4_pmu_train_fw.bin
cat $(obj)/$(SPL_BIN)-nodtb.bin lpddr4_pmu_train_fw.bin > $(obj)/$(SPL_BIN).bin
rm -f lpddr4_pmu_train_fw.bin lpddr4_pmu_train_imem_pad.bin
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment