Skip to content

Commit

Permalink
arch/riscv: remove the Kconfig.core file
Browse files Browse the repository at this point in the history
This commit removes the `Kconfig.core` file. It's been largely unused, and
the only symbol it provides (`RISCV_CORE_E31`) overlaps with the SoC-layer
provided `SOC_SERIES_SIFIVE_FREEDOM_FE300`.

As of date, the only SoC that uses the E31 core in Zephyr is the FE310 SoC.

Signed-off-by: Filip Kokosinski <[email protected]>
  • Loading branch information
fkokosinski authored and jhedberg committed Apr 5, 2024
1 parent 4c45884 commit ab84989
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 25 deletions.
1 change: 0 additions & 1 deletion arch/riscv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,5 @@ config ARCH_HAS_SINGLE_THREAD_SUPPORT
default y if !SMP

rsource "Kconfig.isa"
rsource "Kconfig.core"

endmenu
18 changes: 0 additions & 18 deletions arch/riscv/Kconfig.core

This file was deleted.

1 change: 0 additions & 1 deletion boards/qemu/riscv32_xip/qemu_riscv32_xip_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ CONFIG_PINCTRL=y
CONFIG_GPIO=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=10000000
CONFIG_QEMU_ICOUNT_SHIFT=6
CONFIG_RISCV_CORE_E31=y
5 changes: 0 additions & 5 deletions boards/sifive/hifive1/Kconfig

This file was deleted.

3 changes: 3 additions & 0 deletions soc/sifive/sifive_freedom/fe300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ config SOC_SERIES_SIFIVE_FREEDOM_FE300
select RISCV
select RISCV_PRIVILEGED
select RISCV_HAS_PLIC
select RISCV_PMP

select RISCV_ISA_RV32I
select RISCV_ISA_EXT_M
select RISCV_ISA_EXT_A
select RISCV_ISA_EXT_C
select RISCV_ISA_EXT_ZICSR
select RISCV_ISA_EXT_ZIFENCEI

Expand Down

0 comments on commit ab84989

Please sign in to comment.