On 20 October 2017 at 00:15, Heinrich Schuchardt <xypron.g...@gmx.de> wrote:
> The current implementation of saving of EFI variables has
> unwanted side effects:
>
> - Writing to flash on every boot may harm the memory.
> - All variables are saved. Not only the EFI ones.
> - Variables are saved even if there is not change.
>
> So let us disable saving for now until we have a complete
> solution.
>
> This will also mean every boot is "first boot", ie. falling back
> to fallback.efi to populate BootOrder/BootNNNN variables, and
> never using bootmgr.
>
> Fixes: ad644e7c1823 efi_loader: efi variable support
> Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de>
> ---
>  lib/efi_loader/efi_boottime.c | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to