Re: [U-Boot] [PATCH v2 2/4] env: move more common code to env_import_redund

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

[U-Boot] [PATCH v2 2/4] env: move more common code to env_import_redund

2018-01-31 Thread Simon Goldschmidt
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 storag