]> Git Repo - J-u-boot.git/commit
env: sf: use env_import_redund to simplify env_sf_load
authorSimon Goldschmidt <[email protected]>
Wed, 31 Jan 2018 13:47:13 +0000 (14:47 +0100)
committerTom Rini <[email protected]>
Thu, 1 Feb 2018 13:05:53 +0000 (08:05 -0500)
commit80719938c9f901cc6b90b85d8065d084a03c06ae
treea3ea173d81744cd8dc118e1de90520bf6ae1c6af
parent2166ebf7831674508425daf50c78e481083c6462
env: sf: use env_import_redund to simplify env_sf_load

For the redundant environment configuration, env_sf_load still
contained duplicate code instead of using env_import_redund().

Simplify the code by only executing the load twice and delegating
everything else to env_import_redund.

Signed-off-by: Simon Goldschmidt <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
env/sf.c
This page took 0.033608 seconds and 4 git commands to generate.