summaryrefslogtreecommitdiff
path: root/include/post.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-12-08 09:53:23 +0000
committerwdenk <wdenk>2002-12-08 09:53:23 +0000
commit228f29ac6e0026e596b3a6fbb640118b9944cdd8 (patch)
treef379b80d2d4be7cf9f25bd59156e53cb00faaf72 /include/post.h
parent7c7a23bd5a0bc149d2edd665ec46381726b24e0c (diff)
downloadu-boot-imx-228f29ac6e0026e596b3a6fbb640118b9944cdd8.zip
u-boot-imx-228f29ac6e0026e596b3a6fbb640118b9944cdd8.tar.gz
u-boot-imx-228f29ac6e0026e596b3a6fbb640118b9944cdd8.tar.bz2
* Improve log buffer code; use "loglevel" to decide which messages
to log on the console, too (like in Linux); get rid of "logstart"
Diffstat (limited to 'include/post.h')
-rw-r--r--include/post.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/post.h b/include/post.h
index a6d4016..a91baa2 100644
--- a/include/post.h
+++ b/include/post.h
@@ -38,6 +38,7 @@
#define POST_RAM 0x0200 /* test runs in RAM */
#define POST_MANUAL 0x0400 /* test runs on diag command */
#define POST_REBOOT 0x0800 /* test may cause rebooting */
+#define POST_PREREL 0x1000 /* test runs before relocation */
#define POST_MEM (POST_RAM | POST_ROM)
#define POST_ALWAYS (POST_POWERNORMAL | \
@@ -53,10 +54,12 @@ struct post_test {
char *desc;
int flags;
int (*test) (int flags);
+ unsigned long testid;
};
void post_bootmode_init (void);
int post_bootmode_get (unsigned int * last_test);
void post_bootmode_clear (void);
+void post_output_backlog ( void );
int post_run (char *name, int flags);
int post_info (char *name);
int post_log (char *format, ...);