From: Tom Rini Date: Thu, 17 Oct 2024 21:13:27 +0000 (-0600) Subject: Merge patch series "Cleanup dma device in spl and move dma channel[0]" X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=f1de0b97d1cbfd982b7a507962bb21b12a024b2f;p=u-boot.git Merge patch series "Cleanup dma device in spl and move dma channel[0]" Prasanth Babu Mantena says: The channel allocation and deallocation for dma copy was happening on every dma transfer. This is a overhead for transactions like NAND, which does page reads recursively for complete data. So, moving the dma allocation to probe and implement corresponding remove function and cleanup dma device while exiting from spl. Enable SPL_DM_DEVICE_REMOVE, for device removal capability in SPL. Link: https://lore.kernel.org/r/20241009145703.1970034-1-p-mantena@ti.com --- f1de0b97d1cbfd982b7a507962bb21b12a024b2f diff --cc configs/am62ax_evm_r5_defconfig index f386875a89,c93d8eff76..2e758b41fc --- a/configs/am62ax_evm_r5_defconfig +++ b/configs/am62ax_evm_r5_defconfig @@@ -66,8 -68,9 +66,9 @@@ CONFIG_ENV_IS_NOWHERE= CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_MMC_ENV_PART=1 -# CONFIG_NET is not set +CONFIG_NO_NET=y CONFIG_SPL_DM=y + CONFIG_SPL_DM_DEVICE_REMOVE=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_REGMAP=y CONFIG_SPL_REGMAP=y