diff options
Diffstat (limited to 'plat')
-rw-r--r-- | plat/arm/board/fvp_ve/fvp_ve_def.h | 4 | ||||
-rw-r--r-- | plat/arm/common/arm_bl1_setup.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/plat/arm/board/fvp_ve/fvp_ve_def.h b/plat/arm/board/fvp_ve/fvp_ve_def.h index fa13058a7..565753ae7 100644 --- a/plat/arm/board/fvp_ve/fvp_ve_def.h +++ b/plat/arm/board/fvp_ve/fvp_ve_def.h @@ -59,7 +59,11 @@ ******************************************************************************/ /* VE compatible GIC memory map */ #define VE_GICD_BASE 0x2c001000 +#ifdef ARM_CORTEX_A5 +#define VE_GICC_BASE 0x2c000100 +#else #define VE_GICC_BASE 0x2c002000 +#endif #define VE_GICH_BASE 0x2c004000 #define VE_GICV_BASE 0x2c006000 diff --git a/plat/arm/common/arm_bl1_setup.c b/plat/arm/common/arm_bl1_setup.c index 59a255e9e..1e9edefd5 100644 --- a/plat/arm/common/arm_bl1_setup.c +++ b/plat/arm/common/arm_bl1_setup.c @@ -158,7 +158,9 @@ void arm_bl1_platform_setup(void) #ifdef ARM_SYS_TIMCTL_BASE arm_configure_sys_timer(); #endif +#if (ARM_ARCH_MAJOR > 7) || defined(ARMV7_SUPPORTS_GENERIC_TIMER) write_cntfrq_el0(plat_get_syscnt_freq2()); +#endif } void bl1_platform_setup(void) |