[PATCH 5/8] efi_loader: provide definition for efi_add_known_memory()
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Fri Feb 10 09:09:41 CET 2023
We should provide a definition in an include for efi_add_known_memory().
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
include/efi_loader.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 4560b0d04c..c664d6cdf2 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -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 */
--
2.38.1
More information about the U-Boot
mailing list