diff mbox series

[RFC,v2,5/9] hw/riscv: Kconfig: add CBQRI options

Message ID 20230425203834.1135306-6-dfustini@baylibre.com
State New
Headers show
Series riscv: implement Ssqosid extension and CBQRI controllers | expand

Commit Message

Drew Fustini April 25, 2023, 8:38 p.m. UTC
From: Nicolas Pitre <npitre@baylibre.com>

Add boolean property for CBQRI and imply it should be enabled for the
RISC-V virt machine.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Signed-off-by: Drew Fustini <dfustini@baylibre.com>
---
Changes since v1:
- remove example SoC now that command line arguments supported for CBQRI
- change 'select RISC_CBQRI' to 'imply RISCV_CBQRI' for RISCV_VIRT

 hw/riscv/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
index 6528ebfa3a3b..8fd4aebc77d1 100644
--- a/hw/riscv/Kconfig
+++ b/hw/riscv/Kconfig
@@ -1,3 +1,6 @@ 
+config RISCV_CBQRI
+    bool
+
 config RISCV_NUMA
     bool
 
@@ -45,6 +48,7 @@  config RISCV_VIRT
     select FW_CFG_DMA
     select PLATFORM_BUS
     select ACPI
+    imply RISCV_CBQRI
 
 config SHAKTI_C
     bool