summaryrefslogtreecommitdiffstats
path: root/common/efi/Makefile
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2021-04-10 13:03:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-04-13 09:30:45 +0200
commit5b537db03b3e73a8c1b465168d85b9cc3e045498 (patch)
treee218488d7506a7eb9905914b8d2d2f4e91451ff5 /common/efi/Makefile
parentf630fef413ae1a941a672e6fb1890585d8270bf1 (diff)
downloadbarebox-5b537db03b3e73a8c1b465168d85b9cc3e045498.tar.gz
barebox-5b537db03b3e73a8c1b465168d85b9cc3e045498.tar.xz
resource: enable use of iomem command on EFI systems
iomem was so far unimplemented for EFI, because barebox didn't know what to put there as the UEFI implementation does the heavy lifting. Add an initcall that uses the EFI get_memory_map entry point to remedy this. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Link: https://lore.pengutronix.de/20210410110355.2105448-1-ahmad@a3f.at Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/efi/Makefile')
-rw-r--r--common/efi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/efi/Makefile b/common/efi/Makefile
index ef19969f93..d746fabe21 100644
--- a/common/efi/Makefile
+++ b/common/efi/Makefile
@@ -1,3 +1,4 @@
obj-y += efi.o
obj-y += efi-image.o
bbenv-y += env-efi
+obj-$(CONFIG_CMD_IOMEM) += efi-iomem.o