From e7a5403358bca60a82e6c6d54608f1e2adb83a09 Mon Sep 17 00:00:00 2001 From: Jerome Forissier Date: Fri, 7 Feb 2020 11:13:46 +0100 Subject: [PATCH] qemu: define ARMV7_SUPPORTS_VFP Commit 8f73663b5963 ("plat/arm: Support for Cortex A5 in FVP Versatile Express platform") has conditioned the enabling of the Advanced SIMD and floating point features to platforms that have: (ARM_ARCH_MAJOR > 7) || defined(ARMV7_SUPPORTS_VFP) QEMU does support VFP so it should set ARMV7_SUPPORTS_VFP. Signed-off-by: Jerome Forissier Change-Id: I3bab7c2ed04766d0628c14094557b2751f60a428 --- plat/qemu/qemu/platform.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/plat/qemu/qemu/platform.mk b/plat/qemu/qemu/platform.mk index b95bf5a51..bc10569ba 100644 --- a/plat/qemu/qemu/platform.mk +++ b/plat/qemu/qemu/platform.mk @@ -15,6 +15,7 @@ ifeq (${ARM_ARCH_MAJOR},7) MARCH32_DIRECTIVE := -mcpu=cortex-a15 $(eval $(call add_define,ARMV7_SUPPORTS_LARGE_PAGE_ADDRESSING)) $(eval $(call add_define,ARMV7_SUPPORTS_GENERIC_TIMER)) +$(eval $(call add_define,ARMV7_SUPPORTS_VFP)) # Qemu expects a BL32 boot stage. NEED_BL32 := yes endif # ARMv7