summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2025-12-19 22:48:12 +0100
committerHeinrich Schuchardt <[email protected]>2025-12-24 08:37:13 +0100
commit4d6d086826c44caa19428233614da58167c828ea (patch)
tree3edd7a670544de3d97768061eac20a4284436a3b /lib
parent2ca1d6028446c612c55a7c49431d793b28ba2195 (diff)
efi_selftest: remove unnecessary __efi_runtime_data attribute
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 <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_selftest/efi_selftest_variables_runtime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/efi_selftest/efi_selftest_variables_runtime.c b/lib/efi_selftest/efi_selftest_variables_runtime.c
index 0886b4894b8..fd570d673f0 100644
--- a/lib/efi_selftest/efi_selftest_variables_runtime.c
+++ b/lib/efi_selftest/efi_selftest_variables_runtime.c
@@ -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