diff options
author | Michael Zaidman <michael.zaidman@gmail.com> | 2010-03-01 11:47:36 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-03-21 22:44:58 +0100 |
commit | e070a56c777f1fd05950e1bc63483c19decd6f78 (patch) | |
tree | 509cdb35cf0046f5128082f9062d756beae95191 /include/post.h | |
parent | 47ab5ad14575531798431f0d1e8f83ee9bb0a87e (diff) | |
download | bootable_bootloader_goldelico_gta04-e070a56c777f1fd05950e1bc63483c19decd6f78.zip bootable_bootloader_goldelico_gta04-e070a56c777f1fd05950e1bc63483c19decd6f78.tar.gz bootable_bootloader_goldelico_gta04-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.h | 5 |
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 { |