[U-Boot] efi_loader: Disable env_save() call on boot

Tom Rini trini at konsulko.com
Sun Oct 29 11:59:26 UTC 2017


On Thu, Oct 19, 2017 at 11:23:50PM +0200, Alexander Graf wrote:

> With the introduction of EFI variable support, we also wanted to persist
> these EFI variables. However, the way it was implemented we ended up
> persisting all U-Boot environment variables on every EFI boot.
> 
> That could potentially lead to unexpected side effects because variables
> that were not supposed to be written to persisted env get written. It also
> means we may end up writing the environment more often than we should.
> 
> For this release, let's just disable EFI variable persistence and instead
> implement it properly for the next one.
> 
> Reported-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Fixes: ad644e7c182 ("efi_loader: efi variable support")
> Signed-off-by: Alexander Graf <agraf at suse.de>
> Acked-by: Rob Clark <robdclark at gmail.com>
> Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

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/20171029/b161764b/attachment.sig>


More information about the U-Boot mailing list