diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2010-07-06 15:02:49 +0200 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-07-23 14:39:17 +0200 |
commit | 9946602dce35ee6b949eb9df77fc2e42566b51b7 (patch) | |
tree | f501ec2f2608eb99042a865ecc8aed15c224acc6 /include | |
parent | 10a69883f1f80384e5352d666be91f78ef7de3e4 (diff) |
boottime: Minor clean up and added u-boot command for displaying the current boot time status.
Change-Id: Ifdfea22cc1d587469a18b22a20c0dc14aeaa49c9
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2502
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/boottime.h | 7 |
1 files changed, 3 insertions, 4 deletions
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 <jonas.aberg@stericsson.com> * * 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 |