]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: puma-rk3399: load environment from same MMC as used for loading U-Boot...
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Thu, 15 Sep 2022 09:14:25 +0000 (11:14 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 19 Oct 2022 11:30:49 +0000 (19:30 +0800)
commitbacc331d0b062669689cd27f7e9ef5aeafba0a4e
treefcc065d2f0d0fb0c08f8de4e8a8db549fe31ef94
parent90108643d487dbeee85bcf0bd67e4f93bab389df
rockchip: puma-rk3399: load environment from same MMC as used for loading U-Boot proper

Automatically detect which MMC device (SD-Card or eMMC) was used to load
U-Boot proper and load the environment from that MMC device instead of
a hardcoded one.

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/puma_rk3399/puma-rk3399.c