diff options
| author | Tom Rini <[email protected]> | 2022-03-11 09:12:04 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-03-18 12:48:17 -0400 |
| commit | 69c8a817cf4342774bf1ed19838b9d49c933e969 (patch) | |
| tree | 3926fdde9679d8030afb959d0b82d3588a0db50e /boot/bootretry.c | |
| parent | 0b5870c3f54d8da504866d70cf74b3b7ca3c49bb (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 <[email protected]>
Diffstat (limited to 'boot/bootretry.c')
| -rw-r--r-- | boot/bootretry.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/boot/bootretry.c b/boot/bootretry.c index dac891fbc5e..2bc9c6866e0 100644 --- a/boot/bootretry.c +++ b/boot/bootretry.c @@ -12,10 +12,6 @@ #include <time.h> #include <watchdog.h> -#ifndef CONFIG_BOOT_RETRY_MIN -#define CONFIG_BOOT_RETRY_MIN CONFIG_BOOT_RETRY_TIME -#endif - static uint64_t endtime; /* must be set, default is instant timeout */ static int retry_time = -1; /* -1 so can call readline before main_loop */ |
