Skip to content

Commit

Permalink
arm: aspeed: Add cflags for AST2600 SoCs
Browse files Browse the repository at this point in the history
AST2600 only supports VFPv3-D16, which should be speicifed by cflags
to prevent undef-abort due to unsupoorted instructions generated by
compilers.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
  • Loading branch information
ChiaweiW committed Nov 28, 2023
1 parent 950549e commit 1b11e57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/arch/arm/plat-aspeed/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ CFG_TZDRAM_START ?= 0xb0000000
CFG_TZDRAM_SIZE ?= 0x1000000

CFG_CORE_RESERVED_SHM ?= n

arm32-platform-cflags += -mfpu=vfpv3-d16
else ifeq ($(PLATFORM_FLAVOR),ast2700)
include core/arch/arm/cpu/cortex-armv8-0.mk

Expand Down

0 comments on commit 1b11e57

Please sign in to comment.