From 27b207fd0a0941b03f27e2a82c0468b1a090c745 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 24 Jul 2003 23:38:38 +0000 Subject: * 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) --- include/post.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/post.h') 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__ */ -- cgit v1.2.3