]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: rockchip_sdhci: Skip blocks read workaround on RK3399
authorJonas Karlman <jonas@kwiboo.se>
Sat, 6 May 2023 17:41:09 +0000 (17:41 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 18 May 2023 00:34:45 +0000 (08:34 +0800)
commit41fc80b8da9664835bdce2beed7882fcdaa0a48c
tree30b15c982ae3039a3ccaf97f0b95cbcb37c28298
parentc5b4a012bca8e584615163ee1058d0f92ce94a26
mmc: rockchip_sdhci: Skip blocks read workaround on RK3399

The workaround to limit number of blocks to read in a single command
should only be applied to RK3568 and RK3588. Change to be more strict
when to apply the workaround.

Fixes: 2cc6cde647e2 ("mmc: rockchip_sdhci: Limit number of blocks read in a single command")
Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Quentin Schulz <foss+uboot@0leil.net> # RK3399 Puma, RK3588 Tiger
drivers/mmc/rockchip_sdhci.c