bsp/imx: Avoid hard-coded GIC base address

Update #3869.
This commit is contained in:
Sebastian Huber
2020-02-10 10:35:11 +01:00
committed by Christian Mauderer
parent b2ddf4f7af
commit 8854a2b54b
2 changed files with 15 additions and 2 deletions

View File

@@ -47,9 +47,11 @@
extern "C" {
#endif /* __cplusplus */
#define BSP_ARM_GIC_DIST_BASE 0x31001000
extern uintptr_t imx_gic_dist_base;
#define BSP_ARM_GIC_CPUIF_BASE 0x31002000
#define BSP_ARM_GIC_DIST_BASE imx_gic_dist_base
#define BSP_ARM_GIC_CPUIF_BASE (BSP_ARM_GIC_DIST_BASE + 0x1000)
#define BSP_ARM_A9MPCORE_GT_BASE 0