libpayload: code cosmetics
[coreboot.git] / src / cpu / amd / model_gx2 / syspreinit.c
1 /* StartTimer1
2  *
3  * Entry: none
4  * Exit: Starts Timer 1 for port 61 use
5  * Destroys: Al,
6  */
7 static void StartTimer1(void)
8 {
9         outb(0x56, 0x43);
10         outb(0x12, 0x41);
11 }
12
13 void SystemPreInit(void)
14 {
15         /* they want a jump ... */
16 #if !CONFIG_CACHE_AS_RAM
17         __asm__ __volatile__("jmp .+2\ninvd\njmp .+2\n");
18 #endif
19         StartTimer1();
20 }