blob: 034dac30f4239b1dc4baed777df0b7869a3a5755 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# N1SDP specific TFA support
2
Patrick Williams92b42cb2022-09-03 06:53:57 -05003SRCREV_tfa = "1d867c14cb41c1171d16fa7e395a4eaed3d572b2"
4PV .= "+git${SRCPV}"
5
Brad Bishopbec4ebc2022-08-03 09:55:16 -04006COMPATIBLE_MACHINE = "n1sdp"
7TFA_PLATFORM = "n1sdp"
8TFA_BUILD_TARGET = "all fip"
9TFA_INSTALL_TARGET = "bl1 bl2 bl31 n1sdp-multi-chip n1sdp-single-chip n1sdp_fw_config n1sdp_tb_fw_config fip"
10TFA_DEBUG = "1"
11TFA_MBEDTLS = "1"
12TFA_UBOOT = "0"
13TFA_UEFI = "1"
14
Brad Bishopbec4ebc2022-08-03 09:55:16 -040015TFA_ROT_KEY= "plat/arm/board/common/rotpk/arm_rotprivk_rsa.pem"
16
Patrick Williams92b42cb2022-09-03 06:53:57 -050017# Enabling Secure-EL1 Payload Dispatcher (SPD)
18TFA_SPD = "spmd"
19# Cortex-A35 supports Armv8.0-A (no S-EL2 execution state).
20# So, the SPD SPMC component should run at the S-EL1 execution state
21TFA_SPMD_SPM_AT_SEL2 = "0"
22
23# BL2 loads BL32 (optee). So, optee needs to be built first:
24DEPENDS += "optee-os"
25
Brad Bishopbec4ebc2022-08-03 09:55:16 -040026EXTRA_OEMAKE:append = "\
27 TRUSTED_BOARD_BOOT=1 \
Patrick Williams92b42cb2022-09-03 06:53:57 -050028 GENERATE_COT=1 \
29 CREATE_KEYS=1 \
30 ARM_ROTPK_LOCATION="devel_rsa" \
31 ROT_KEY="${TFA_ROT_KEY}" \
32 BL32=${RECIPE_SYSROOT}/lib/firmware/tee-pager_v2.bin \
33 BL33=${RECIPE_SYSROOT}/firmware/uefi.bin \
34 "