aboutsummaryrefslogtreecommitdiff
path: root/arch/nios2
diff options
context:
space:
mode:
authorSimon Glass2023-12-14 21:19:02 -0700
committerTom Rini2024-04-10 17:04:25 -0600
commit6be5ec948b7f6f9e771dee4f5a7bc1c150ebef04 (patch)
treeddcacad9c65405dcf95c9e018d2f3a218eb1210b /arch/nios2
parentb34c8289d205c5f5c7367a468e08346b0c7f3baa (diff)
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/nios2')
-rw-r--r--arch/nios2/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/lib/Makefile b/arch/nios2/lib/Makefile
index a9f3c7100e7..68a5ca007d5 100644
--- a/arch/nios2/lib/Makefile
+++ b/arch/nios2/lib/Makefile
@@ -4,5 +4,5 @@
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
obj-y += cache.o
-obj-$(CONFIG_CMD_BOOTM) += bootm.o
+obj-$(CONFIG_BOOTM) += bootm.o
obj-y += libgcc.o