summaryrefslogtreecommitdiff
path: root/src/cpu/amd/model_gx2/syspreinit.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-29 21:56:26 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-29 21:56:26 +0000
commit86b6dba7eaea79c1d9f485396bd6b5ea24088160 (patch)
tree28ca00641922359889a9b6141bc47313918badb9 /src/cpu/amd/model_gx2/syspreinit.c
parent8655412673f650839fa659849da6e356895524ae (diff)
trivial warning cleanups
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5318 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_gx2/syspreinit.c')
-rw-r--r--src/cpu/amd/model_gx2/syspreinit.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cpu/amd/model_gx2/syspreinit.c b/src/cpu/amd/model_gx2/syspreinit.c
index e3ad95235d..c6b2ea527c 100644
--- a/src/cpu/amd/model_gx2/syspreinit.c
+++ b/src/cpu/amd/model_gx2/syspreinit.c
@@ -7,15 +7,16 @@
/* * Destroys: Al,*/
/* **/
/* ***************************************************************************/
-void
-StartTimer1(void){
+static void
+StartTimer1(void)
+{
outb(0x56, 0x43);
outb(0x12, 0x41);
}
void
-SystemPreInit(void){
-
+SystemPreInit(void)
+{
/* they want a jump ... */
__asm__("jmp .+2\ninvd\njmp.+2\n");
StartTimer1();