[U-Boot] [U-Boot, v2, 4/4] env: sf: use env_import_redund to simplify env_sf_load
Tom Rini
trini at konsulko.com
Thu Feb 1 13:09:21 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180201/dcb67fd2/attachment.sig>
More information about the U-Boot
mailing list