summaryrefslogtreecommitdiff
path: root/src/lib/bootmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/bootmem.c')
-rw-r--r--src/lib/bootmem.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/bootmem.c b/src/lib/bootmem.c
index 578ddac19f..ab15e85d08 100644
--- a/src/lib/bootmem.c
+++ b/src/lib/bootmem.c
@@ -4,6 +4,7 @@
#include <bootmem.h>
#include <cbmem.h>
#include <device/resource.h>
+#include <drivers/efi/capsules.h>
#include <symbols.h>
#include <assert.h>
#include <types.h>
@@ -80,6 +81,8 @@ static void bootmem_init(void)
/* Add memory used by CBMEM. */
cbmem_add_bootmem();
+ efi_add_capsules_to_bootmem();
+
bootmem_add_range((uintptr_t)_stack, REGION_SIZE(stack),
BM_MEM_RAMSTAGE);
bootmem_add_range((uintptr_t)_program, REGION_SIZE(program),