summaryrefslogtreecommitdiff
path: root/include/post.h
diff options
context:
space:
mode:
authorMichael Zaidman <michael.zaidman@gmail.com>2010-03-01 11:47:36 +0200
committerWolfgang Denk <wd@denx.de>2010-03-21 22:44:58 +0100
commite070a56c777f1fd05950e1bc63483c19decd6f78 (patch)
tree509cdb35cf0046f5128082f9062d756beae95191 /include/post.h
parent47ab5ad14575531798431f0d1e8f83ee9bb0a87e (diff)
downloadu-boot-imx-e070a56c777f1fd05950e1bc63483c19decd6f78.zip
u-boot-imx-e070a56c777f1fd05950e1bc63483c19decd6f78.tar.gz
u-boot-imx-e070a56c777f1fd05950e1bc63483c19decd6f78.tar.bz2
POST: add progress API
Add POST progress API implemented as weak calls before and after each call to the POST test callback in the post_run_single routine of the post.c file. Signed-off-by: Michael Zaidman <michael.zaidman@gmail.com> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'include/post.h')
-rw-r--r--include/post.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/post.h b/include/post.h
index 9fcd3ce..ff83bce 100644
--- a/include/post.h
+++ b/include/post.h
@@ -53,6 +53,11 @@
#define POST_FAIL_SAVE 0x80
+#define POST_BEFORE 1
+#define POST_AFTER 0
+#define POST_PASSED 1
+#define POST_FAILED 0
+
#ifndef __ASSEMBLY__
struct post_test {