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