A platform (like Xilinx Microblaze V) does not have an ACLINT (Advanced
Core Local Interruptor) hardware block.

Make RISCV_ACLINT and SPL_RISCV_ACLINT Kconfig symbols visible with
prompts.

Signed-off-by: Michal Simek <[email protected]>
---

Changes in v3:
- don't enable it default because it is breaking some boards

Changes in v2:
- Make symbols visible and disable them per platform basis

 arch/riscv/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index ad7589123c6c..e3adc48f6f52 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -378,7 +378,7 @@ config DMA_ADDR_T_64BIT
        default y if 64BIT
 
 config RISCV_ACLINT
-       bool
+       bool "RISC-V ACLINT support"
        depends on RISCV_MMODE
        select REGMAP
        select SYSCON
@@ -387,7 +387,7 @@ config RISCV_ACLINT
          associated with software and timer interrupts.
 
 config SPL_RISCV_ACLINT
-       bool
+       bool "RISC-V ACLINT support in SPL"
        depends on SPL_RISCV_MMODE
        select SPL_REGMAP
        select SPL_SYSCON
-- 
2.43.0

base-commit: 6267afe7f46f3ae1cd58671e57aae88646c835bd
branch: debian-sent3

Reply via email to