]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: eliminate duplicate runtime section definitions
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 5 Apr 2024 08:12:57 +0000 (10:12 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 Apr 2024 09:03:12 +0000 (11:03 +0200)
The following symbols are defined in two includes:

* __efi_runtime_start[]
* __efi_runtime_stop[]
* __efi_runtime_rel_start[]
* __efi_runtime_rel_stop[]

Eliminate the definitions in efi_loader.h.

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

index 7daca0afba2b9b69044c1d25dea0ce3dbc6cd403..bb51c028177495b5fed3fed7bc636e8ee8642ca3 100644 (file)
@@ -345,9 +345,6 @@ extern const efi_guid_t smbios3_guid;
 extern const efi_guid_t efi_guid_text_input_protocol;
 extern const efi_guid_t efi_guid_text_output_protocol;
 
-extern char __efi_runtime_start[], __efi_runtime_stop[];
-extern char __efi_runtime_rel_start[], __efi_runtime_rel_stop[];
-
 /**
  * struct efi_open_protocol_info_item - open protocol info item
  *
index aba3100c76855f4983faeb1ae7c0d0d9aebd851b..12cf23fa3fa8d76d7cd0cb84b5406bfa58a02c54 100644 (file)
@@ -15,6 +15,7 @@
 #include <watchdog.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
+#include <asm/sections.h>
 #include <linux/list_sort.h>
 #include <linux/sizes.h>