From a0e2f29bdf0818693ece35388c20dd3af4c8ba6b Mon Sep 17 00:00:00 2001 From: Radek Pesina Date: Tue, 4 Apr 2023 15:32:02 +1000 Subject: [PATCH] Add option for selecting coherent DMA. --- arch/risc-v/src/litex/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/risc-v/src/litex/Kconfig b/arch/risc-v/src/litex/Kconfig index 09c4526edf..610f4970cb 100644 --- a/arch/risc-v/src/litex/Kconfig +++ b/arch/risc-v/src/litex/Kconfig @@ -11,6 +11,13 @@ config LITEX_SYS_CORE_FREQ_HZ ---help--- This value should match default frequency of the FPGA fabric system clock. +config LITEX_COHERENT_DMA + bool "Litex Coherent DMA" + default n + ---help--- + Select this option if the soft core was build with coherent DMA. When selected, + dcache is considered coherent and not invalidated before DMA transfers. + menu "LITEX Peripheral Support" # These "hidden" settings determine whether a peripheral option is available