X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fpost.h;h=3da959d9a35cd13c7f5f36dd57e7155ed81fd85b;hb=39e9b7c3c386f811fa021d1852518e54ff12af05;hp=fe96312cb08b13d076963fb14c963a18a50accd7;hpb=1ea0823786eb3bbb604da88279eca3ba31ef205f;p=u-boot diff --git a/include/post.h b/include/post.h index fe96312cb0..3da959d9a3 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 { @@ -73,7 +78,9 @@ void post_output_backlog ( void ); int post_run (char *name, int flags); int post_info (char *name); int post_log (char *format, ...); +#ifndef CONFIG_RELOC_FIXUP_WORKS void post_reloc (void); +#endif unsigned long post_time_ms (unsigned long base); extern struct post_test post_list[]; @@ -117,6 +124,7 @@ extern int post_hotkeys_pressed(void); #define CONFIG_SYS_POST_BSPEC4 0x00080000 #define CONFIG_SYS_POST_BSPEC5 0x00100000 #define CONFIG_SYS_POST_CODEC 0x00200000 +#define CONFIG_SYS_POST_COPROC 0x00400000 #endif /* CONFIG_POST */