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

Maxime Ripard maxime.ripard at free-electrons.com
Wed Jan 31 15:40:50 UTC 2018


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_redund.
> 
> Signed-off-by: Simon Goldschmidt <sgoldschmidt at de.pepperl-fuchs.com>

Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180131/35468f86/attachment.sig>


More information about the U-Boot mailing list