summaryrefslogtreecommitdiff
path: root/boot/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-11 09:12:04 -0500
committerTom Rini <trini@konsulko.com>2022-03-18 12:48:17 -0400
commit69c8a817cf4342774bf1ed19838b9d49c933e969 (patch)
tree3926fdde9679d8030afb959d0b82d3588a0db50e /boot/Makefile
parent0b5870c3f54d8da504866d70cf74b3b7ca3c49bb (diff)
Convert CONFIG_BOOT_RETRY_TIME et al to Kconfig
This converts the following to Kconfig: CONFIG_BOOT_RETRY_TIME CONFIG_BOOT_RETRY_MIN CONFIG_RESET_TO_RETRY We also introduce CONFIG_BOOT_RETRY to gate these options, and clean up the associated Makefile entry and C code for picking default values of CONFIG_BOOT_RETRY_MIN. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'boot/Makefile')
-rw-r--r--boot/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/boot/Makefile b/boot/Makefile
index 2938c3f145..75366c85c6 100644
--- a/boot/Makefile
+++ b/boot/Makefile
@@ -5,11 +5,7 @@
ifndef CONFIG_SPL_BUILD
-# This option is not just y/n - it can have a numeric value
-ifdef CONFIG_BOOT_RETRY_TIME
-obj-y += bootretry.o
-endif
-
+obj-$(CONFIG_BOOT_RETRY) += bootretry.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o bootm_os.o
obj-$(CONFIG_CMD_BOOTZ) += bootm.o bootm_os.o
obj-$(CONFIG_CMD_BOOTI) += bootm.o bootm_os.o