]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rock-pi-4: Use SDMA to boost eMMC performance
authorJonas Karlman <jonas@kwiboo.se>
Wed, 17 May 2023 18:40:41 +0000 (18:40 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 18 May 2023 00:44:04 +0000 (08:44 +0800)
commit6e2b8344d60c0bb9ca7110ea533ffbb9361dde7e
tree6c01fff5bb86343fea1b2196a49185a33bd24e59
parentcf777572ca3128532bba17d5f65867f3471d9ae2
rockchip: rock-pi-4: Use SDMA to boost eMMC performance

Enable the use of SDMA mode to boost eMMC performance on ROCK Pi 4.
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-rock-pi-4-u-boot.dtsi
configs/rock-pi-4-rk3399_defconfig