[PATCH RFC 06/12] x86: select OF_DMA_DEFAULT_COHERENT

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Feb 21 00:05:18 PST 2023


We don't DT instantiation of HW devices on x86, but on the off-chance we
do that in future, ensure DMA coherency settings are correct.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index bd6a94bd0b0e..5688e5317d21 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -5,6 +5,7 @@ config X86
 	select HAS_KALLSYMS
 	select HAS_DMA
 	select GENERIC_FIND_NEXT_BIT
+	select OF_DMA_DEFAULT_COHERENT
 	default y
 
 config ARCH_TEXT_BASE
-- 
2.30.2




More information about the barebox mailing list