wrong argument order

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1523 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2004-04-21 22:54:09 +00:00
parent c36b4275c6
commit d9dfed56e6
1 changed files with 6 additions and 6 deletions

View File

@ -54,21 +54,21 @@ board_init(void)
/*
* Enable FLASH, NVRAM, POR
*/
out_8(0x9C, 0xF4000002);
out_8((unsigned char *)0xF4000002, 0x9C);
/*
* Enable UART0
*/
out_8(0x20, 0xF4000003);
out_8((unsigned char *)0xF4000003, 0x20);
/*
* Cycle LEDs to show something is happening...
*/
out_8(0x07, 0xF4000009);
out_8((unsigned char *)0xF4000009, 0x07);
udelay(100000);
out_8(0x0B, 0xF4000009);
out_8((unsigned char *)0xF4000009, 0x0B);
udelay(100000);
out_8(0x0D, 0xF4000009);
out_8((unsigned char *)0xF4000009, 0x0D);
udelay(100000);
out_8(0x0E, 0xF4000009);
out_8((unsigned char *)0xF4000009, 0x0E);
}