]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: provide definition for efi_add_known_memory()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 08:01:13 +0000 (09:01 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 12:05:40 +0000 (13:05 +0100)
We should provide a definition in an include for efi_add_known_memory().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_loader.h

index 4560b0d04cb9cea059b1d519bd5167a0171b699b..c664d6cdf2ce7037289fe80ee694a3c5e5b62847 100644 (file)
@@ -1137,4 +1137,11 @@ efi_status_t efi_console_get_u16_string
 
 efi_status_t efi_disk_get_device_name(const efi_handle_t handle, char *buf, int size);
 
+/**
+ * efi_add_known_memory() - add memory banks to EFI memory map
+ *
+ * This weak function may be overridden for specific architectures.
+ */
+void efi_add_known_memory(void);
+
 #endif /* _EFI_LOADER_H */