]> git.baikalelectronics.ru Git - arm-tf.git/commit
amlogic: axg: Add a build flag when using ATOS as BL32
authorCarlo Caione <ccaione@baylibre.com>
Mon, 27 Jan 2020 15:03:28 +0000 (16:03 +0100)
committerCarlo Caione <ccaione@baylibre.com>
Thu, 6 Feb 2020 11:10:47 +0000 (12:10 +0100)
commit72d2535afde2df0d9edd851dad425d8fabf6d449
treeb2369ad29c2d4dae18016228a638baa3ff49b697
parentafd241e71d76470478039388a358d0176491734f
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
docs/plat/meson-axg.rst
plat/amlogic/axg/axg_bl31_setup.c
plat/amlogic/axg/platform.mk