Skip to content

Commit

Permalink
[review] core: factorize cpu support
Browse files Browse the repository at this point in the history
That travis for this!


Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
  • Loading branch information
etienne-lms committed May 22, 2017
1 parent eef87e5 commit a83c248
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/arch/arm/cpu/cortex-armv8-0.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$(call force,CFG_HWSUPP_MEM_PERM_WXN,y)
$(call force,CFG_HWSUPP_MEM_PERM_PXN,y)
# cortex-a53 and cortex-a57 complies on arm32 architectures
arm32-platform-cpuarch := cortex-a53
arm32-platform-cflags += -mcpu=$(arm32-platform-cpuarch)
arm32-platform-aflags += -mcpu=$(arm32-platform-cpuarch)
Expand Down
2 changes: 1 addition & 1 deletion core/arch/arm/plat-mediatek/conf.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PLATFORM_FLAVOR ?= mt8173

include core/arch/arm/cpu/cortex-a15.mk
include core/arch/arm/cpu/cortex-armv8-0.mk

# 32-bit flags
arm32-platform-aflags += -mfpu=neon
Expand Down
2 changes: 1 addition & 1 deletion core/arch/arm/plat-sprd/conf.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PLATFORM_FLAVOR ?= sc9860

include core/arch/arm/cpu/cortex-a15.mk
include core/arch/arm/cpu/cortex-armv8-0.mk

# 32-bit flags
arm32-platform-aflags += -mfpu=neon
Expand Down

0 comments on commit a83c248

Please sign in to comment.