From: Lad Prabhakar Date: Fri, 1 Sep 2023 10:58:58 +0000 (+0100) Subject: riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config X-Git-Tag: v6.6.7~1927^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54adc24c9a8f6e602f7e9d716107814d10281f8d;p=platform%2Fkernel%2Flinux-starfive.git riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config Now that RISCV_DMA_NONCOHERENT conditionally selects DMA_DIRECT_REMAP ie only if MMU is enabled, we no longer need the MMU dependency in ERRATA_ANDES_CMO config. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20230901105858.311745-1-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/Kconfig.errata b/arch/riscv/Kconfig.errata index 92c7797..bee5d83 100644 --- a/arch/riscv/Kconfig.errata +++ b/arch/riscv/Kconfig.errata @@ -12,7 +12,7 @@ config ERRATA_ANDES config ERRATA_ANDES_CMO bool "Apply Andes cache management errata" - depends on ERRATA_ANDES && MMU && ARCH_R9A07G043 + depends on ERRATA_ANDES && ARCH_R9A07G043 select RISCV_DMA_NONCOHERENT default y help