tfa: change arm-trusted-firmware build configuration to build only one artifact
This commit changes the arm-trusted-firmware build configuration to only build one ATF artifact. It will create an image that boot over USB and NAND. https://onedigi.atlassian.net/browse/DEL-8187 Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
parent
8f92f634c3
commit
9812149ca5
|
|
@ -36,7 +36,7 @@ def get_bootable_artifacts(d):
|
|||
uboot_suffix = d.getVar('UBOOT_SUFFIX', True) or ""
|
||||
atf_types = d.getVar('TF_A_CONFIG', True) or ""
|
||||
fip_type = d.getVar('FIP_UBOOT_CONFIG', True) or ""
|
||||
atf_boot_modes = ['nand', 'usb']
|
||||
atf_boot_modes = ['nand']
|
||||
artifacts = []
|
||||
|
||||
# For platforms with a FIP artifact, ignore u-boot artifacts
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ ST_DEBUG_TRACE = "0"
|
|||
# trusted-firmware-a
|
||||
# =========================================================================
|
||||
# Configure trusted-firmware-a build
|
||||
TF_A_CONFIG = "optee nand usb"
|
||||
TF_A_CONFIG = "optee nand"
|
||||
|
||||
# =========================================================================
|
||||
# optee
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ ST_DEBUG_TRACE = "0"
|
|||
# trusted-firmware-a
|
||||
# =========================================================================
|
||||
# Configure trusted-firmware-a build
|
||||
TF_A_CONFIG = "optee nand usb"
|
||||
TF_A_CONFIG = "optee nand"
|
||||
|
||||
# =========================================================================
|
||||
# optee
|
||||
|
|
|
|||
|
|
@ -13,3 +13,5 @@ SRCREV = "${AUTOREV}"
|
|||
SRC_URI = " \
|
||||
${TFA_GIT_URI};branch=${SRCBRANCH} \
|
||||
"
|
||||
|
||||
TF_A_CONFIG[nand] = "${DEVICE_BOARD_ENABLE:NAND},STM32MP_RAW_NAND=1 ${@'STM32MP_FORCE_MTD_START_OFFSET=${TF_A_MTD_START_OFFSET_NAND}' if ${TF_A_MTD_START_OFFSET_NAND} else ''} STM32MP_USB_PROGRAMMER=1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue