mkfirmware.sh: Cleanup a bit

Change-Id: I4a169d4678762e007d495e26bb44e3d2c83338ed
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
Jeffy Chen
2022-05-06 18:45:46 +08:00
parent 0ff8660dc2
commit 1382493ffc

View File

@ -270,11 +270,9 @@ link_image_optional "$LOADER" MiniLoaderAll.bin "$SPL"
if [ "$RK_RAMDISK_SECURITY_BOOTUP" = "true" ]; then
for part in boot recovery rootfs;do
test -e $TOP_DIR/u-boot/${part}.img &&
link_image "$TOP_DIR/u-boot/${part}.img" ${part}.img && \
message "Enabled ramdisk security $part..." || true
link_image "$TOP_DIR/u-boot/${part}.img" ${part}.img && \
message "Enabled ramdisk security $part..." || true
done
fi
pack_extra_partitions