Add content to build ATF & OPTEE for HiKey platform.
Signed-off-by: Haojian Zhuang haojian.zhuang@linaro.org --- edk2-platforms.config | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/edk2-platforms.config b/edk2-platforms.config index 5c09afe..8ef82d1 100644 --- a/edk2-platforms.config +++ b/edk2-platforms.config @@ -106,6 +106,20 @@ ARCH=AARCH64 LONGNAME=HiKey DSC=Platform/Hisilicon/HiKey/HiKey.dsc ARCH=AARCH64 +BUILD_ATF=yes +UEFI_BIN=BL33_AP_UEFI.fd +UEFI_IMAGE_DIR=HiKey +SCP_BIN=Platform/Hisilicon/HiKey/mcuimage.bin +ATF_SPD=opteed +TOS_BIN=tee-pager.bin +TOS_PLATFORM_FLAVOR=hikey +BUILD_TOS=yes +# Uncomment this to use UART0 as the EDK2 console +#BUILDFLAGS=-DSERIAL_BASE=0xF8015000 +# Uncomment this to use UART0 as the ARM Trusted Firmware console +#ATF_BUILDFLAGS=CONSOLE_BASE=PL011_UART0_BASE CRASH_CONSOLE_BASE=PL011_UART0_BASE +# Uncomment this to use UART0 as the OP-TEE Trusted OS console +#TOS_BUILDFLAGS=CFG_CONSOLE_UART=0
[d02] LONGNAME=Hisilicon D02