]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
efi_selftest: remove unnecessary __efi_runtime_data attribute
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 19 Dec 2025 21:48:12 +0000 (22:48 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 24 Dec 2025 07:37:13 +0000 (08:37 +0100)
Assigning a single variable to section __efi_runtime_date while the rest of
the test is in the boottime section does not make much sense.

As we do not set a virtual address map here, we don't need a runtime
section.

Update the variables at runtime test.

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

index 0886b4894b8df326f64dd8dada1be1f833f0e9f7..fd570d673f051c03f2f400ccf0930570af7f491f 100644 (file)
@@ -17,8 +17,7 @@
 #define EFI_ST_MAX_VARNAME_SIZE 40
 
 static const efi_guid_t guid_vendor0 = EFI_GLOBAL_VARIABLE_GUID;
-static const efi_guid_t __efi_runtime_data efi_rt_var_guid =
-       U_BOOT_EFI_RT_VAR_FILE_GUID;
+static const efi_guid_t efi_rt_var_guid = U_BOOT_EFI_RT_VAR_FILE_GUID;
 
 /**
  * execute() - execute unit test