]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rockpro64: Use SDMA to boost eMMC performance
authorJonas Karlman <jonas@kwiboo.se>
Sat, 6 May 2023 17:41:12 +0000 (17:41 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 18 May 2023 00:34:45 +0000 (08:34 +0800)
commitcf777572ca3128532bba17d5f65867f3471d9ae2
tree50d9b1aa889e8796bdb1853c83e52bc919809518
parent3b804b370dd8027a6d450c447247855a149ea2ec
rockchip: rockpro64: Use SDMA to boost eMMC performance

Enable the use of SDMA mode to boost eMMC performance on RockPro64.
Also add missing flags to indicate the supported MMC modes.

Using mmc read command to read 32 MiB data shows following improvement:

  => time mmc read 10000000 2000 10000

Before: time: 3.178 seconds
After: time: 0.402 seconds

This also enables CONFIG_SPL_FIT_SIGNATURE option to help discover
any possible future issue with loading TF-A into DRAM/SRAM.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi
configs/rockpro64-rk3399_defconfig