aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-12-14 21:19:02 -0700
committerTom Rini <trini@konsulko.com>2024-04-10 17:04:25 -0600
commit6be5ec948b7f6f9e771dee4f5a7bc1c150ebef04 (patch)
treeddcacad9c65405dcf95c9e018d2f3a218eb1210b /arch/x86/lib
parentb34c8289d205c5f5c7367a468e08346b0c7f3baa (diff)
downloadu-boot-6be5ec948b7f6f9e771dee4f5a7bc1c150ebef04.zip
u-boot-6be5ec948b7f6f9e771dee4f5a7bc1c150ebef04.tar.gz
u-boot-6be5ec948b7f6f9e771dee4f5a7bc1c150ebef04.tar.bz2
treewide: Make arch-specific bootm code depend on BOOTM
Allow these functions to be compiled in when CONFIG_BOOTM is enabled, even if CONFIG_CMD_BOOTM is not. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Angelo Dureghello <angelo@kernel-space.org>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile
index 90a7618..2b13f55 100644
--- a/arch/x86/lib/Makefile
+++ b/arch/x86/lib/Makefile
@@ -16,7 +16,7 @@ obj-$(CONFIG_X86_32BIT_INIT) += string.o
endif
ifndef CONFIG_SPL_BUILD
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
endif
obj-y += cmd_boot.o
obj-$(CONFIG_$(SPL_)COREBOOT_SYSINFO) += coreboot/