Other RISC-V targets should not have RAM_SIFIVE enabled by default.

Signed-off-by: Sean Anderson <sean...@gmail.com>
Reviewed-by: Pragnesh Patel <pragnesh.pa...@openfive.com>
---

(no changes since v1)

 drivers/ram/sifive/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ram/sifive/Kconfig b/drivers/ram/sifive/Kconfig
index 6aca22ab2a..b24153d971 100644
--- a/drivers/ram/sifive/Kconfig
+++ b/drivers/ram/sifive/Kconfig
@@ -1,7 +1,7 @@
 config RAM_SIFIVE
        bool "Ram drivers support for SiFive SoCs"
        depends on RAM && RISCV
-       default y
+       default y if TARGET_SIFIVE_FU540
        help
          This enables support for ram drivers of SiFive SoCs.
 
-- 
2.28.0

Reply via email to