Skip to contentSkip to conversation

configs/andes_ae350_45: Select RVA for AE350 platform

PATCH Applied Yu Chien Peter Lin 2 participants 2 messages Aug 15, 2023 – Aug 22, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 configs/andes_ae350_45: Select RVA for AE350 platform

Let's select the RVA as Andes 45-series CPUs support IMAFDC extensions.

---
Changes v1 -> v2:
- reword commit message

---
 configs/andes_ae350_45_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/andes_ae350_45_defconfig +1 -0
index 998276635b..7e606444c0 100644
@@ -1,6 +1,7 @@
 BR2_riscv=y
 BR2_riscv_custom=y
 BR2_RISCV_ISA_CUSTOM_RVM=y
+BR2_RISCV_ISA_CUSTOM_RVA=y
 BR2_RISCV_ISA_CUSTOM_RVF=y
 BR2_RISCV_ISA_CUSTOM_RVD=y
 BR2_RISCV_ISA_CUSTOM_RVC=y
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello,

Quoted 10 lines · On Tue, 15 Aug 2023 13:43:27 +0800 Yu Chien Peter Lin <[email protected]>…

Let's select the RVA as Andes 45-series CPUs support IMAFDC extensions.

---
Changes v1 -> v2:
- reword commit message

---
 configs/andes_ae350_45_defconfig | 1 +
 1 file changed, 1 insertion(+)

Applied to next, thanks. However, it could be simplified a bit thanks to recent changes in the RISC-V support. We could have:

@@ -1,9 +1,4 @@
BR2_riscv=y
-BR2_riscv_custom=y
-BR2_RISCV_ISA_RVM=y
-BR2_RISCV_ISA_RVA=y
-BR2_RISCV_ISA_RVF=y
-BR2_RISCV_ISA_RVD=y
BR2_RISCV_ISA_RVC=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_0=y
BR2_GLOBAL_PATCH_DIR="board/andes/ae350/patches"

Indeed, now riscv_g still allows to enable the C extension.

Could you have a look into this and submit a patch?

Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot