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>
diff --git a/boards/arm64/fvp_baser_aemv8r/board.cmake b/boards/arm64/fvp_baser_aemv8r/board.cmake
index ab8b530..3fb94ac 100644
--- a/boards/arm64/fvp_baser_aemv8r/board.cmake
+++ b/boards/arm64/fvp_baser_aemv8r/board.cmake
@@ -13,8 +13,6 @@
-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
diff --git a/cmake/gcc-m-cpu.cmake b/cmake/gcc-m-cpu.cmake
index efef747..4dd27f6 100644
--- a/cmake/gcc-m-cpu.cmake
+++ b/cmake/gcc-m-cpu.cmake
@@ -53,7 +53,7 @@
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)