diff options
author | Konstantin Porotchkin <kostap@marvell.com> | 2018-10-03 16:16:15 +0300 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-10-04 10:43:50 +0300 |
commit | 2908f0bd1f6d18e232074d59c40077ce97303511 (patch) | |
tree | f3ebb34f5d6e9e791bd725b298c9cebb51e6818e | |
parent | 259abbb5ad81275bef248f00263eed25661eec73 (diff) |
fix: a8k: Remove boot warning about BL32 image absence
The TF-A shows a warning when tries to load BL32 (type 4) image:
WARNING: Failed to obtain reference to image id=4 (-2)
WARNING: Failed to load BL32 (-2)
The BL32 image is only tried when the BL32_BASE is defined in
platform headers.
This patch allows BL32_BASE define only when image is built with
BL32=<binary> option, as in case of OP-TEE OS inclusion.
Change-Id: I4a6e4d1c258ba29a572a56a4e02f612070576bc5
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/60038
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
-rw-r--r-- | plat/marvell/a8k/common/include/platform_def.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plat/marvell/a8k/common/include/platform_def.h b/plat/marvell/a8k/common/include/platform_def.h index 0ec49e57..d6e821e3 100644 --- a/plat/marvell/a8k/common/include/platform_def.h +++ b/plat/marvell/a8k/common/include/platform_def.h @@ -207,7 +207,9 @@ #define TRUSTED_DRAM_BASE PLAT_MARVELL_TRUSTED_DRAM_BASE #define TRUSTED_DRAM_SIZE PLAT_MARVELL_TRUSTED_DRAM_SIZE -#define BL32_BASE TRUSTED_DRAM_BASE +#ifdef BL32 /* Only required for BL32 images attachment (OP-TEE for instance) */ +#define BL32_BASE TRUSTED_DRAM_BASE +#endif #ifdef MVEBU_PCIE_ECAM_WA #define HANDLE_EA_EL3_FIRST |