diff mbox series

[Linaro-uefi,2/2] edk2-platforms.config: build ATF & OPTEE for hikey

Message ID 1517572271-8564-2-git-send-email-haojian.zhuang@linaro.org
State Superseded
Headers show
Series [Linaro-uefi,1/2] opteed-build: export ARCH for makefile | expand

Commit Message

Haojian Zhuang Feb. 2, 2018, 11:51 a.m. UTC
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 mbox series

Patch

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