Re: [U-Boot] [PATCH v2 4/4] env: sf: use env_import_redund to simplify env_sf_load

2018-01-31 Thread Maxime Ripard
On Wed, Jan 31, 2018 at 02:47:13PM +0100, Simon Goldschmidt wrote: > 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

[U-Boot] [PATCH v2 4/4] env: sf: use env_import_redund to simplify env_sf_load

2018-01-31 Thread Simon Goldschmidt
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 --- env/sf.c | 67 --