Skip to content
Snippets Groups Projects
Commit 31f044bd authored by Simon Goldschmidt's avatar Simon Goldschmidt Committed by Tom Rini
Browse files

env: move more common code to env_import_redund


There is more common code in mmc, nand and ubi env drivers that
can be shared by moving to env_import_redund.

For this, a status/error value whether the buffers were loaded
are passed as additional parameters to env_import_redund.
Ideally, these are already returned to the env driver by the
storage driver. This is the case for mmc, nand and ubi, so for
this change, code deduplicated.

Signed-off-by: default avatarSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 42a1820b
No related branches found
No related tags found
No related merge requests found
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