]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: ringneck-px30: do not hardcode MMC controller paths
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Wed, 17 Jan 2024 17:59:08 +0000 (18:59 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jan 2024 02:57:36 +0000 (10:57 +0800)
commit796bc7d0f3eb6830f6362477edf4b05d49c48313
tree7a9dbb954b81a4adf8016b6c02e71dde6a8735f1
parent153ac950a59960967c752177ceda9fec1c55fc98
rockchip: ringneck-px30: do not hardcode MMC controller paths

To prepare to put the similar logic around storage medium selection for
Ringneck PX30 and Puma RK3399 in common, let's not use hardcoded paths
but use uclass functions instead to find udevice based on their DT node
full path.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/theobroma-systems/ringneck_px30/ringneck-px30.c