The cache driver here can only build on RISCV due to header
dependencies. Express that requirement in Kconfig as well.

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
 drivers/cache/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cache/Kconfig b/drivers/cache/Kconfig
index 4f3586574445..f5bcd406a505 100644
--- a/drivers/cache/Kconfig
+++ b/drivers/cache/Kconfig
@@ -24,6 +24,7 @@ config L2X0_CACHE
 
 config ANDES_L2_CACHE
        bool "Andes L2 cache driver"
+       depends on RISCV
        select CACHE
        help
          Support Andes L2 cache controller in AE350 platform.
-- 
2.43.0

Reply via email to