Add Broadcom's code for bcm63xx support
[project/bcm63xx/atf.git] / make_helpers / armv7-a-cpus.mk
index 5571ab0f73fb97fe3db59f2ed8521fdc90cbcde4..8b35b15a740646678e6ffc7e1e0b0b6bc56b369f 100644 (file)
@@ -50,6 +50,14 @@ $(eval $(call add_define,ARMV7_SUPPORTS_GENERIC_TIMER))
 $(eval $(call add_define,ARMV7_SUPPORTS_VFP))
 endif
 
+# BRCM_PATCH: 1. BCM63138 (Cortex-A9) does have NEON.
+#             2. Even though A9 does not support LARGE_PAGE_ADDRESSING
+#                needed to enable it to get compilation going.
+ifeq ($(filter yes,$(ARM_CORTEX_A9)),yes)
+$(eval $(call add_define,ARMV7_SUPPORTS_LARGE_PAGE_ADDRESSING))
+$(eval $(call add_define,ARMV7_SUPPORTS_VFP))
+endif
+
 ifeq ($(ARM_CORTEX_A5),yes)
 $(eval $(call add_define,ARM_CORTEX_A5))
 endif