Skip to content
Snippets Groups Projects
Commit 6e7b7df4 authored by Dmitry Lifshitz's avatar Dmitry Lifshitz Committed by Pantelis Antoniou
Browse files

env_mmc: support env partition setup in runtime


Add callback with __weak annotation to allow setup of environment
partition number in runtime from a board file.

Propagate mmc_switch_part() return value into init_mmc_for_env() instead
of -1 in case of failure.

Signed-off-by: default avatarDmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Acked-by: default avatarPantelis Antoniou <panto@antoniou-consulting.com>
parent ac77f42d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment