]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Merge patch series "Cleanup dma device in spl and move dma channel[0]"
authorTom Rini <trini@konsulko.com>
Thu, 17 Oct 2024 21:13:27 +0000 (15:13 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 18 Oct 2024 00:21:20 +0000 (18:21 -0600)
Prasanth Babu Mantena <p-mantena@ti.com> 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
1  2 
arch/arm/mach-k3/common.c
configs/am62ax_evm_a53_defconfig
configs/am62ax_evm_r5_defconfig
configs/am62x_evm_r5_defconfig
configs/j7200_evm_a72_defconfig
configs/j7200_evm_r5_defconfig
configs/j721e_evm_r5_defconfig
configs/j721s2_evm_a72_defconfig
configs/j721s2_evm_r5_defconfig
configs/j784s4_evm_r5_defconfig

Simple merge
Simple merge
index f386875a89f7758df10b5beb396af7599e7bb783,c93d8eff76bae8e8dd6f699d15a4dc9340038c04..2e758b41fc2dab3fd591f0e41ee8ac8db35a1535
@@@ -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
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge