]> git.baikalelectronics.ru Git - uboot.git/commit
env: mmc: allow support of mmc_get_env_dev with OF_CONTROL
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 15 Jun 2020 08:38:55 +0000 (10:38 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 26 Jul 2020 18:35:30 +0000 (14:35 -0400)
commit738d6fed68e5ee0af847639949ef5f8237a9b063
treecbc8d0018ef09951197d15a8deae182f0cd69d21
parentacb1d1438d2f236f2658e75679416a8a523a7c6c
env: mmc: allow support of mmc_get_env_dev with OF_CONTROL

Use the weak function mmc_get_env_dev in mmc_offset_try_partition
function to allow dynamic selection of mmc device to use
and no more use directly the define CONFIG_SYS_MMC_ENV_DEV.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
env/mmc.c