cmake: armfvp: Remove the unnecessary parameters
The Armv8R aarch64 is compiled with armv8.4-a, so the atomic_cas is implemented by casal instruction, which needs FVP booting with '-C bp.dram.enable_atomic_ops=1' However, the FVP >= 11.17 has changed its parameters '-C bp.dram.enable_atomic_ops' to '-C bp.s_dram.enable_atomic_ops' and '-C bp.sram.enable_atomic_ops' to '-C bp.s_sram.enable_atomic_ops', which is very annoying. To fix this issue, disable LSE feature of GCC with 'armv8.4-a+nolse'. Signed-off-by: Jaxson Han <jaxson.han@arm.com>
This commit is contained in:
parent
1a682680a7
commit
a072a801e7
2 changed files with 1 additions and 3 deletions
|
@ -13,8 +13,6 @@ set(ARMFVP_FLAGS
|
|||
-C cluster0.gicv3.SRE-enable-action-on-mmap=2
|
||||
-C cluster0.gicv3.SRE-EL2-enable-RAO=1
|
||||
-C cluster0.gicv3.extended-interrupt-range-support=1
|
||||
-C bp.dram.enable_atomic_ops=1
|
||||
-C bp.sram.enable_atomic_ops=1
|
||||
-C gic_distributor.GICD_CTLR-DS-1-means-secure-only=1
|
||||
-C gic_distributor.has-two-security-states=0
|
||||
-C bp.refcounter.non_arch_start_at_default=1
|
||||
|
|
|
@ -53,7 +53,7 @@ elseif("${ARCH}" STREQUAL "arm64")
|
|||
elseif(CONFIG_CPU_CORTEX_A72)
|
||||
set(GCC_M_CPU cortex-a72)
|
||||
elseif(CONFIG_CPU_CORTEX_R82)
|
||||
set(GCC_M_ARCH armv8.4-a)
|
||||
set(GCC_M_ARCH armv8.4-a+nolse)
|
||||
endif()
|
||||
elseif("${ARCH}" STREQUAL "arc")
|
||||
if(CONFIG_CPU_EM4_FPUS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue