]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: typo non-volatile in efi_var_restore
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 29 Dec 2022 08:23:03 +0000 (09:23 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 29 Dec 2022 09:51:50 +0000 (10:51 +0100)
It is volatile variables that we do not allow to be restored from file.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_var_file.c

index 3d58caa13da28cc205bf45891696602658aa5c00..de9ba8de996799e1acff43479fc3be6978cb1ef8 100644 (file)
@@ -176,7 +176,7 @@ efi_status_t efi_var_restore(struct efi_var_file *buf, bool safe)
                data = var->name + u16_strlen(var->name) + 1;
 
                /*
-                * Secure boot related and non-volatile variables shall only be
+                * Secure boot related and volatile variables shall only be
                 * restored from U-Boot's preseed.
                 */
                if (!safe &&