diff options
-rw-r--r-- | src/cpu/amd/model_gx2/syspreinit.c | 9 | ||||
-rw-r--r-- | src/cpu/amd/model_lx/syspreinit.c | 2 | ||||
-rw-r--r-- | src/northbridge/amd/lx/raminit.c | 3 |
3 files changed, 8 insertions, 6 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(); diff --git a/src/cpu/amd/model_lx/syspreinit.c b/src/cpu/amd/model_lx/syspreinit.c index 53cd4aa9c9..33c6ece942 100644 --- a/src/cpu/amd/model_lx/syspreinit.c +++ b/src/cpu/amd/model_lx/syspreinit.c @@ -29,7 +29,7 @@ /* * Destroys: Al,*/ /* **/ /* ***************************************************************************/ -void StartTimer1(void) +static void StartTimer1(void) { outb(0x56, 0x43); outb(0x12, 0x41); diff --git a/src/northbridge/amd/lx/raminit.c b/src/northbridge/amd/lx/raminit.c index aafcde257a..d22efa61c0 100644 --- a/src/northbridge/amd/lx/raminit.c +++ b/src/northbridge/amd/lx/raminit.c @@ -27,8 +27,9 @@ static const unsigned char NumColAddr[] = { 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }; -void banner(const char *s) +static void banner(const char *s) { + /* This is so ugly. */ print_debug("==========================="); print_debug(s); print_debug("======================================\r\n"); |