diff mbox series

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

Message ID 1518081579-2195-3-git-send-email-haojian.zhuang@linaro.org
State New
Headers show
Series update for hikey | expand

Commit Message

Haojian Zhuang Feb. 8, 2018, 9:19 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