[PATCH 01/10] m68k: add DMA global pool config
From: Angelo Dureghello
Date: Tue Dec 01 2026 - 17:40:30 EST
Add DMA global pool config options.
Signed-off-by: Angelo Dureghello <angelo@xxxxxxxxxxxxxxxx>
---
arch/m68k/Kconfig.cpu | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu
index 5a58cc13229e..ac09375cadc2 100644
--- a/arch/m68k/Kconfig.cpu
+++ b/arch/m68k/Kconfig.cpu
@@ -33,6 +33,7 @@ config COLDFIRE
select GPIOLIB_LEGACY if SPI_COLDFIRE_QSPI
select HAVE_LEGACY_CLK
select HAVE_PAGE_SIZE_8KB if !MMU
+ select DMA_GLOBAL_POOL if MMU
config SUN3
bool "Sun3 machine support"
@@ -304,6 +305,7 @@ config M5441x
select COLDFIRE_PIT_TIMER
select MMU_COLDFIRE if MMU
select HAVE_CACHE_CB
+ select DMA_COHERENT if MMU
help
Freescale Coldfire 54410/54415/54416/54417/54418 processor support.
@@ -330,6 +332,18 @@ config COLDFIRE_SLTIMERS
bool
select LEGACY_TIMER_TICK
+config DMA_COHERENT
+ bool
+
+config DMA_GLOBAL_POOL_SIZE
+ hex "Global coherent DMA pool size"
+ depends on DMA_GLOBAL_POOL && COLDFIRE
+ default 0x1000000
+ help
+ Size of the non-cacheable coherent DMA pool carved out from the
+ top of SDRAM (must be a multiple of 16 MB to match ColdFire ACR
+ granularity).
+
endif # COLDFIRE
comment "Processor Specific Options"
--
2.56.1