Skip to content

Commit

Permalink
riscv: plat-virt: Let CFG_RISCV_PLIC be build time configurable
Browse files Browse the repository at this point in the history
RISC-V has several standard interrupt controllers supported by QEMU
virtual platform. This commit removes enforcement of CFG_RISCV_PLIC so
that CFG_RISCV_PLIC can be build time configurable for developer.

Signed-off-by: Alvin Chang <[email protected]>
  • Loading branch information
gagachang committed Feb 16, 2025
1 parent 873f5f6 commit f24e273
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/arch/riscv/plat-virt/conf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ CFG_TEE_CORE_NB_CORE ?= 1
CFG_NUM_THREADS ?= 1
$(call force,CFG_BOOT_SYNC_CPU,n)

# Interrupt contoller
CFG_RISCV_PLIC ?= n

$(call force,CFG_RISCV_M_MODE,n)
$(call force,CFG_RISCV_S_MODE,y)
$(call force,CFG_RISCV_PLIC,y)
$(call force,CFG_SBI_CONSOLE,n)
$(call force,CFG_16550_UART,y)
$(call force,CFG_RISCV_TIME_SOURCE_RDTIME,y)
Expand Down

0 comments on commit f24e273

Please sign in to comment.