Skip to content

Commit

Permalink
riscv: Kconfig.errata: Drop dependency for MMU in ERRATA_ANDES_CMO co…
Browse files Browse the repository at this point in the history
…nfig

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>
  • Loading branch information
prabhakarlad authored and palmer-dabbelt committed Sep 8, 2023
1 parent e7ddd00 commit 54adc24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/riscv/Kconfig.errata
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54adc24

Please sign in to comment.