summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2004-04-21 22:54:09 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2004-04-21 22:54:09 +0000
commitd9dfed56e6384e66294f19851b8488412b3bb751 (patch)
treef730808f4e86e8d4fdee588982b6bb98d9b184c5 /src/mainboard
parentc36b4275c6a3756cb0118f5b619299ab1772e19a (diff)
wrong argument order
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1523 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/embeddedplanet/ep405pc/init.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/embeddedplanet/ep405pc/init.c b/src/mainboard/embeddedplanet/ep405pc/init.c
index 2ab248c5c2..004bbeaa39 100644
--- a/src/mainboard/embeddedplanet/ep405pc/init.c
+++ b/src/mainboard/embeddedplanet/ep405pc/init.c
@@ -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);
}