From c00ace75f2658989625d99e0a4e49f4428924555 Mon Sep 17 00:00:00 2001 From: Jonas Aaberg Date: Mon, 1 Feb 2010 08:29:27 +0100 Subject: Boottime changes. Moved generic boottime code from lib_arm to common. Boottime now internally uses us instead of ticks. Reviewed-by: Michael Brandt Signed-off-by: Jonas Aaberg Change-Id: If30d2eb384d6e82daa86c3cab7a6fd2a22baefb5 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3053 Reviewed-by: Michael BRANDT --- common/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/main.c') diff --git a/common/main.c b/common/main.c index 10d890417..88e7fd2e9 100644 --- a/common/main.c +++ b/common/main.c @@ -38,6 +38,7 @@ #include #endif +#include #include #if defined(CONFIG_SILENT_CONSOLE) || defined(CONFIG_POST) || defined(CONFIG_CMDLINE_EDITING) @@ -215,6 +216,10 @@ static __inline__ int abortboot(int bootdelay) { int abort = 0; +#ifdef CONFIG_BOOTTIME + boottime_tag("autoboot_delay"); +#endif + #ifdef CONFIG_MENUPROMPT printf(CONFIG_MENUPROMPT); #else -- cgit v1.2.3