With https://github.com/OP-TEE/optee_os/commit/66df8a2c723c8d3b2911701792b3ad1bb9... TOS_PLATFORM_FLAVOR must be set and not empty to prevent the error below:
core/arch/arm/plat-hikey/platform_config.h:60:2: error: #error Unknown console UART
Signed-off-by: Victor Chong victor.chong@linaro.org --- platforms.config | 1 + 1 file changed, 1 insertion(+)
diff --git a/platforms.config b/platforms.config index 6db1340..6fc8f1f 100644 --- a/platforms.config +++ b/platforms.config @@ -203,6 +203,7 @@ UEFI_IMAGE_DIR=HiKey BUILD_ATF=yes ATF_SPD=opteed TOS_BIN=tee.bin +TOS_PLATFORM_FLAVOR=hikey BUILD_TOS=yes SCP_BIN=OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/mcuimage.bin # Uncomment this to use UART0 as the EDK2 console
Reformatted commit message slightly to shorten line lengths.
Reviewed-by: Leif Lindholm leif.lindholm@linaro.org
Pushed as 80d2c78.
/ Leif
On Thu, Jul 20, 2017 at 03:03:07PM +0100, Victor Chong wrote:
With https://github.com/OP-TEE/optee_os/commit/66df8a2c723c8d3b2911701792b3ad1bb9... TOS_PLATFORM_FLAVOR must be set and not empty to prevent the error below:
core/arch/arm/plat-hikey/platform_config.h:60:2: error: #error Unknown console UART
Signed-off-by: Victor Chong victor.chong@linaro.org
platforms.config | 1 + 1 file changed, 1 insertion(+)
diff --git a/platforms.config b/platforms.config index 6db1340..6fc8f1f 100644 --- a/platforms.config +++ b/platforms.config @@ -203,6 +203,7 @@ UEFI_IMAGE_DIR=HiKey BUILD_ATF=yes ATF_SPD=opteed TOS_BIN=tee.bin +TOS_PLATFORM_FLAVOR=hikey BUILD_TOS=yes SCP_BIN=OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/mcuimage.bin
# Uncomment this to use UART0 as the EDK2 console
2.13.0