aboutsummaryrefslogtreecommitdiff
path: root/include/post.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-07-24 23:38:38 +0000
committerwdenk <wdenk>2003-07-24 23:38:38 +0000
commit27b207fd0a0941b03f27e2a82c0468b1a090c745 (patch)
tree4d339d7a2a00889f09a876425ce430be57de56e9 /include/post.h
parent2535d60277cc295adf75cd5721dcecd840c69a63 (diff)
downloadu-boot-linaro-stable-27b207fd0a0941b03f27e2a82c0468b1a090c745.tar.gz
* Implement new mechanism to export U-Boot's functions to standalone
applications: instead of using (PPC-specific) system calls we now use a jump table; please see doc/README.standalone for details * Patch by Dave Westwood, 24 Jul 2003: added support for Unity OS (a proprietary OS)
Diffstat (limited to 'include/post.h')
-rw-r--r--include/post.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/post.h b/include/post.h
index 0f6366868..130e71554 100644
--- a/include/post.h
+++ b/include/post.h
@@ -34,6 +34,8 @@
#define POST_SLOWTEST 0x04 /* test is slow, enabled by key press */
#define POST_POWERTEST 0x08 /* test runs after watchdog reset */
+#define POST_COLDBOOT 0x80 /* first boot after power-on */
+
#define POST_ROM 0x0100 /* test runs in ROM */
#define POST_RAM 0x0200 /* test runs in RAM */
#define POST_MANUAL 0x0400 /* test runs on diag command */
@@ -71,7 +73,7 @@ unsigned long post_time_ms (unsigned long base);
extern struct post_test post_list[];
extern unsigned int post_list_size;
-extern int post_hotkeys_pressed(gd_t *);
+extern int post_hotkeys_pressed(void);
#endif /* __ASSEMBLY__ */