diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2024-03-04 20:00:19 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-03-05 16:28:06 +0100 |
commit | 7584e768f48af6035f5cf7257ff8f01d4f8d7b56 (patch) | |
tree | 6e75d868f43d012f8a49aa3b0b00ab16a075eb7b | |
parent | f1230c7f92cd56446b8a2383a69d50babf471f73 (diff) | |
download | barebox-7584e768f48a.tar.gz barebox-7584e768f48a.tar.xz |
efi: payload: iomem: register later
efi_barebox_populate_mmap() will silently skip reserving areas that are
already reserved. Yet, because it's called so early, it will prevent
finer grained reservation for barebox internal areas. Move the initcall
later to fix this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20240304190038.3486881-95-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | efi/payload/iomem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/efi/payload/iomem.c b/efi/payload/iomem.c index d4390c8567..832f6db72b 100644 --- a/efi/payload/iomem.c +++ b/efi/payload/iomem.c @@ -176,4 +176,4 @@ out: free(mmap_buf); return ret; } -mem_efi_initcall(efi_barebox_populate_mmap); +device_efi_initcall(efi_barebox_populate_mmap); |