Author: stepan Date: Mon Mar 29 23:56:26 2010 New Revision: 5318 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5318
Log: trivial warning cleanups
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/cpu/amd/model_gx2/syspreinit.c trunk/src/cpu/amd/model_lx/syspreinit.c trunk/src/northbridge/amd/lx/raminit.c
Modified: trunk/src/cpu/amd/model_gx2/syspreinit.c ============================================================================== --- trunk/src/cpu/amd/model_gx2/syspreinit.c Mon Mar 29 23:50:53 2010 (r5317) +++ trunk/src/cpu/amd/model_gx2/syspreinit.c Mon Mar 29 23:56:26 2010 (r5318) @@ -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();
Modified: trunk/src/cpu/amd/model_lx/syspreinit.c ============================================================================== --- trunk/src/cpu/amd/model_lx/syspreinit.c Mon Mar 29 23:50:53 2010 (r5317) +++ trunk/src/cpu/amd/model_lx/syspreinit.c Mon Mar 29 23:56:26 2010 (r5318) @@ -29,7 +29,7 @@ /* * Destroys: Al,*/ /* **/ /* ***************************************************************************/ -void StartTimer1(void) +static void StartTimer1(void) { outb(0x56, 0x43); outb(0x12, 0x41);
Modified: trunk/src/northbridge/amd/lx/raminit.c ============================================================================== --- trunk/src/northbridge/amd/lx/raminit.c Mon Mar 29 23:50:53 2010 (r5317) +++ trunk/src/northbridge/amd/lx/raminit.c Mon Mar 29 23:56:26 2010 (r5318) @@ -27,8 +27,9 @@ 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");