# User specific settings
UBOOT_FIT_USER_SETTINGS ?= ""
+# Sets the firmware property to select the image to boot first.
+# If not set, the first entry in "loadables" is used instead.
+UBOOT_FIT_CONF_FIRMWARE ?= ""
+
# Unit name containing a list of users additional binaries to be loaded.
# It is a comma-separated list of strings.
UBOOT_FIT_CONF_USER_LOADABLES ?= ''
# we want to sign it so that the SPL can verify it
uboot_fitimage_assemble() {
conf_loadables="\"uboot\""
+ conf_firmware=""
rm -f ${UBOOT_ITS} ${UBOOT_FITIMAGE_BINARY}
# First we create the ITS script
conf_loadables="${conf_loadables}${UBOOT_FIT_CONF_USER_LOADABLES}"
fi
+ if [ -n "${UBOOT_FIT_CONF_FIRMWARE}" ] ; then
+ conf_firmware="firmware = \"${UBOOT_FIT_CONF_FIRMWARE}\";"
+ fi
+
cat << EOF >> ${UBOOT_ITS}
};
default = "conf";
conf {
description = "Boot with signed U-Boot FIT";
+ ${conf_firmware}
loadables = ${conf_loadables};
fdt = "fdt";
};