Skip to content
Snippets Groups Projects
Commit 40583564 authored by Alexander Graf's avatar Alexander Graf Committed by Tom Rini
Browse files

efi_loader: Disable env_save() call on boot


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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Fixes: ad644e7c ("efi_loader: efi variable support")
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Acked-by: default avatarRob Clark <robdclark@gmail.com>
Reviewed-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent bb3d9ed3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment