aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2019-04-15 12:51:39 +0100
committerBryan O'Donoghue <bryan.odonoghue@linaro.org>2019-04-15 12:51:58 +0100
commit230e2d697800dcb7070e924577c7a6069c866477 (patch)
tree71f7e4e345ffde736d776b53e2f26fc4576f4121
parentf2d4d3e899a2fe559b5392afe8a7d65ef4470c6f (diff)
core: arm: imx: Fix dependency on PLATFORM_FLAVOR_mx8mmevklinaro-imx8mm-evk
There's an ifdef on tzasc which depends on PLATFORM_FLAVOR_mx8mmevk and therefore breaks for PLATFORM_FLAVOR_mx8mmevk_mbl. Fix this now by adding PLATFORM_FLAVOR_mx8mmevk_mbl to the relevant part of the ifdef. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
-rw-r--r--core/arch/arm/plat-imx/tzasc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/arch/arm/plat-imx/tzasc.c b/core/arch/arm/plat-imx/tzasc.c
index b2b76530..2f2ab4a2 100644
--- a/core/arch/arm/plat-imx/tzasc.c
+++ b/core/arch/arm/plat-imx/tzasc.c
@@ -362,7 +362,7 @@ static int board_imx_tzasc_configure(vaddr_t addr)
return 0;
}
-#elif defined(PLATFORM_FLAVOR_mx8mmevk)
+#elif (defined(PLATFORM_FLAVOR_mx8mmevk) || defined(PLATFORM_FLAVOR_mx8mmevk_mbl))
static int board_imx_tzasc_configure(vaddr_t addr)
{
tzc_init(addr);