]> git.baikalelectronics.ru Git - uboot.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)
commit55e0bf0d6656c27dd0671682804dbfeeac4fcbfc
tree6c01fff5bb86343fea1b2196a49185a33bd24e59
parentfbdf4ee865a3ef41f372f34831e15b0fdddb83cb
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