From 9946602dce35ee6b949eb9df77fc2e42566b51b7 Mon Sep 17 00:00:00 2001 From: Jonas Aaberg Date: Tue, 6 Jul 2010 15:02:49 +0200 Subject: boottime: Minor clean up and added u-boot command for displaying the current boot time status. Change-Id: Ifdfea22cc1d587469a18b22a20c0dc14aeaa49c9 Signed-off-by: Jonas Aaberg Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2502 Reviewed-by: Michael BRANDT --- include/boottime.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/boottime.h b/include/boottime.h index 907033a6f..95f039170 100644 --- a/include/boottime.h +++ b/include/boottime.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2010 ST-Ericsson AB + * Copyright (C) ST-Ericsson SA 2009-2010 * Jonas Aaberg * * This program is free software; you can redistribute it and/or modify @@ -21,7 +21,6 @@ #ifndef BOOTTIME_H #define BOOTTIME_H - #define BOOTTIME_MAX_NAME_LEN 64 struct boottime_entry { @@ -30,14 +29,14 @@ struct boottime_entry { }; #ifdef CONFIG_BOOTTIME -int boottime_tag(char *name); +void boottime_tag(char *name); void boottime_remove_last(void); struct boottime_entry *boottime_get_entry(unsigned int i); unsigned long boottime_idle_get(void); unsigned long boottime_idle_done(void); void boottime_idle_add(unsigned long time); #else -#define boottime_tag(x) 0 +#define boottime_tag(x) #define boottime_remove_last() #define boottime_idle_add(x) #endif -- cgit v1.2.3