]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO config
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fri, 1 Sep 2023 10:58:58 +0000 (11:58 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 8 Sep 2023 18:25:27 +0000 (11:25 -0700)
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 <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230901105858.311745-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig.errata

index 92c779764b27053e75157ee6b3f28c9b28ff178b..bee5d838763b8ecb206490a10694d81e7d5e6cf2 100644 (file)
@@ -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