arm-trusted-firmware/plat/amlogic/axg
Carlo Caione 72d2535afd amlogic: axg: Add a build flag when using ATOS as BL32
BL2 is unconditionally setting 0 (OPTEE_AARCH64) in arg0 even when the
BL32 image is 32bit (OPTEE_AARCH32). This is causing the boot to hang
when ATOS (32bit Amlogic BL32 binary-only TEE OS) is used.

Since we are not aware of any Amlogic platform shipping a 64bit version
of ATOS we can hardcode OPTEE_AARCH32 / MODE_RW_32 when using ATOS.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Change-Id: Iaea47cf6dc48bf8a646056761f02fb81b41c78a3
2020-02-06 12:10:47 +01:00
..
include amlogic: axg: Add support for the A113D (AXG) platform 2020-02-06 12:10:47 +01:00
axg_bl31_setup.c amlogic: axg: Add a build flag when using ATOS as BL32 2020-02-06 12:10:47 +01:00
axg_common.c amlogic: axg: Add support for the A113D (AXG) platform 2020-02-06 12:10:47 +01:00
axg_def.h amlogic: axg: Add support for the A113D (AXG) platform 2020-02-06 12:10:47 +01:00
axg_pm.c amlogic: axg: Add support for the A113D (AXG) platform 2020-02-06 12:10:47 +01:00
platform.mk amlogic: axg: Add a build flag when using ATOS as BL32 2020-02-06 12:10:47 +01:00