summaryrefslogtreecommitdiff
path: root/plat/imx/common/include
diff options
context:
space:
mode:
authorBai Ping <ping.bai@nxp.com>2018-06-16 01:13:20 +0800
committerAbel Vesa <abel.vesa@nxp.com>2018-06-20 11:00:11 +0300
commit76673d693f8cdadb776e0c89df5d1c6902f47d47 (patch)
tree633519d7f1b4dd38ef10f0e3421a010930311690 /plat/imx/common/include
parent6bc321eee4ccee407a4486dad6ec8319750b7f7a (diff)
plat: imx: fix smp boot hang issue when GIC is power down
When GIC is power down, all the GIC state will be lost. All the redistributor's state need save/resotre. Additionally, the redistributor's restore need to be done after distributor Signed-off-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'plat/imx/common/include')
-rw-r--r--plat/imx/common/include/plat_imx8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/plat/imx/common/include/plat_imx8.h b/plat/imx/common/include/plat_imx8.h
index 63b7d58a..0c505903 100644
--- a/plat/imx/common/include/plat_imx8.h
+++ b/plat/imx/common/include/plat_imx8.h
@@ -8,10 +8,11 @@
#define __PLAT_IMX8_H__
#include <gicv3.h>
+#include <platform_def.h>
/* gicv3 context save */
struct plat_gic_ctx {
- gicv3_redist_ctx_t rdist_ctx;
+ gicv3_redist_ctx_t rdist_ctx[PLATFORM_CORE_COUNT];
gicv3_dist_ctx_t dist_ctx;
};