u-boot/lib/efi_loader
Alexander Graf 405835645a 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: Heinrich Schuchardt <xypron.glpk@gmx.de>
Fixes: ad644e7c18 ("efi_loader: efi variable support")
Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2017-10-29 07:59:08 -04:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_bootmgr.c efi_loader: add bootmgr 2017-09-20 11:08:01 +02:00
efi_boottime.c efi_loader: Disable env_save() call on boot 2017-10-29 07:59:08 -04:00
efi_console.c efi_loader: console support for color attributes 2017-10-12 17:24:25 +02:00
efi_device_path.c efi_loader: Add mem-mapped for fallback 2017-10-12 17:22:58 +02:00
efi_device_path_to_text.c efi_loader: Add mem-mapped for fallback 2017-10-12 17:22:58 +02:00
efi_disk.c efi_loader: don't increment part twice per loop 2017-10-10 18:14:05 +02:00
efi_file.c efi_loader: add file/filesys support 2017-09-20 10:43:54 +02:00
efi_gop.c efi_loader: GOP fix for no display 2017-08-11 13:49:23 +02:00
efi_image_loader.c efi_loader: set loaded image code/data type properly 2017-09-20 11:10:24 +02:00
efi_memory.c efi_loader: make pool allocations cacheline aligned 2017-09-20 10:48:09 +02:00
efi_net.c efi_loader: fill return values in SimpleNetworkProtocol 2017-10-09 07:00:35 +02:00
efi_runtime.c efi_loader: efi variable support 2017-09-20 11:00:57 +02:00
efi_smbios.c smbios: Expose in efi_loader as table 2016-10-19 09:01:52 +02:00
efi_variable.c efi_loader: print GUIDs 2017-09-20 11:10:42 +02:00
helloworld.c efi: Add support for a hello world test program 2016-11-14 23:24:03 +01:00
Kconfig x86: Enable EFI loader support 2016-11-14 23:24:04 +01:00
Makefile efi_loader: add bootmgr 2017-09-20 11:08:01 +02:00