From c78d524c5d6ac57612f5f99da4ee47c54fc2f418 Mon Sep 17 00:00:00 2001 From: Leo Yan Date: Sat, 27 May 2017 13:15:40 +0800 Subject: [PATCH] hikey: bl31: enable CCI port for cluster 0 The cluster 0 doesn't rely on PSCI to enable it; so enable CCI port for cluster 0 in BL31 platform setup flow. Signed-off-by: Leo Yan Signed-off-by: Haojian Zhuang --- plat/hisilicon/hikey/hikey_bl31_setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plat/hisilicon/hikey/hikey_bl31_setup.c b/plat/hisilicon/hikey/hikey_bl31_setup.c index 9a1114a7..82bd97ed 100644 --- a/plat/hisilicon/hikey/hikey_bl31_setup.c +++ b/plat/hisilicon/hikey/hikey_bl31_setup.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include #include #include #include @@ -88,6 +89,7 @@ void bl31_early_platform_setup(bl31_params_t *from_bl2, /* Initialize CCI driver */ cci_init(CCI400_BASE, cci_map, ARRAY_SIZE(cci_map)); + cci_enable_snoop_dvm_reqs(MPIDR_AFFLVL1_VAL(read_mpidr_el1())); /* * Copy BL3-2 and BL3-3 entry point information. -- 2.30.2