summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2020-04-22 09:35:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-04-27 21:16:05 +0200
commitc5c6fa599fcc2e1506b4088993d4e36bb6a21543 (patch)
treec9de66ec2025159f47e1120ac396130cc61e39b6 /include/common.h
parent1a546e28341ba3e733d1f1f9fc6d60de6b195298 (diff)
downloadbarebox-c5c6fa599fcc2e1506b4088993d4e36bb6a21543.tar.gz
barebox-c5c6fa599fcc2e1506b4088993d4e36bb6a21543.tar.xz
startup: rename AUTOBOOT_UNKNOWN to more descriptive AUTOBOOT_COUNTDOWN
If we export the autoboot state variable for customization, having unknown as default is not so helpful. Rename it to what actually happens (abortable countdown). Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index ef2e4e5c31..b2533f4176 100644
--- a/include/common.h
+++ b/include/common.h
@@ -87,7 +87,7 @@ unsigned long long strtoull_suffix(const char *str, char **endp, int base);
extern int (*barebox_main)(void);
enum autoboot_state {
- AUTOBOOT_UNKNOWN,
+ AUTOBOOT_COUNTDOWN,
AUTOBOOT_ABORT,
AUTOBOOT_MENU,
AUTOBOOT_BOOT,