aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorUsama Arif <usama.arif@arm.com>2018-12-12 17:14:29 +0000
committerUsama Arif <usama.arif@arm.com>2019-02-19 17:07:48 +0000
commit8f73663b5963ff10ec946b1faa92b4311f28cbd9 (patch)
treea0c9a47b834e819f84e1d27d6a590eb1f4f39b86 /plat
parenta5aa25af6514ff04721efce05e46b4daf8729a85 (diff)
downloadplatform_external_arm-trusted-firmware-8f73663b5963ff10ec946b1faa92b4311f28cbd9.tar.gz
platform_external_arm-trusted-firmware-8f73663b5963ff10ec946b1faa92b4311f28cbd9.tar.bz2
platform_external_arm-trusted-firmware-8f73663b5963ff10ec946b1faa92b4311f28cbd9.zip
plat/arm: Support for Cortex A5 in FVP Versatile Express platform
Cortex A5 doesnt support VFP, Large Page addressing and generic timer which are addressed in this patch. The device tree for Cortex a5 is also included. Change-Id: I0722345721b145dfcc80bebd36a1afbdc44bb678 Signed-off-by: Usama Arif <usama.arif@arm.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/arm/board/fvp_ve/fvp_ve_def.h4
-rw-r--r--plat/arm/common/arm_bl1_setup.c2
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)