summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@linaro.org>2018-02-08 17:19:39 +0800
committerLeif Lindholm <leif.lindholm@linaro.org>2018-02-19 15:15:51 +0000
commit1c42caa6721944581016b973733fb1f6cdaf526d (patch)
treecc9e58793af34ed9403ca30616d607b4e13a5ff3
parentc8375adc863743f14943c4b6a5ed9b2e3252b851 (diff)
edk2-platforms.config: build ATF & OPTEE for hikey
Add content to build ATF & OPTEE for HiKey platform. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r--edk2-platforms.config14
1 files changed, 14 insertions, 0 deletions
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