]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Imply HS200 cap with mmc-hs400 prop to match linux
authorJonas Karlman <jonas@kwiboo.se>
Mon, 8 Apr 2024 21:06:15 +0000 (21:06 +0000)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 26 Apr 2024 06:31:27 +0000 (15:31 +0900)
commite098f88f7e8e3c72c05cd9a3cf586a9d70374ba7
tree94825dabc1af7767de97844c4821a344c398a80b
parent5359cd1135d069a3033bda65d3e72a3c4a76160d
mmc: Imply HS200 cap with mmc-hs400 prop to match linux

eMMC nodes in linux device tree files typically only contain a mmc-hs400
prop to signal support for both HS400 and HS200. However, U-Boot require
an explicit mmc-hs200 prop to signal support for the HS200 mode.

Fix this by follow linux and imply HS200 cap when HS400 cap is signaled
using a mmc-hs400 prop.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Reviewed-by: Quentin Schulz <quentin.schulz@theobrma-systems.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc-uclass.c