diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-06-07 08:29:36 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-06-07 08:29:36 +0000 |
commit | aed992054f3af248e12ec88de4c047456fe9b104 (patch) | |
tree | f942db029eaba8e209094e75dbdd4c58e0258485 /src/mainboard/digitallogic | |
parent | c4f1a77cd238b106e84d15a4b62e1ffe169e6200 (diff) | |
download | coreboot-aed992054f3af248e12ec88de4c047456fe9b104.tar.xz |
replace outb -> port 0x80 with post_code() in some places.
Especially most _smbus functions misuse port 0x80 writes for delays.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5615 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/digitallogic')
-rw-r--r-- | src/mainboard/digitallogic/msm586seg/romstage.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mainboard/digitallogic/msm586seg/romstage.c b/src/mainboard/digitallogic/msm586seg/romstage.c index e4d9738411..c93648f60d 100644 --- a/src/mainboard/digitallogic/msm586seg/romstage.c +++ b/src/mainboard/digitallogic/msm586seg/romstage.c @@ -183,7 +183,7 @@ static void main(unsigned long bist) // while(1) print_err("STATIC MEM DONE\n"); - outb(0xee, 0x80); + post_code(0xee); print_err("loop forever ...\n"); #if 0 @@ -231,13 +231,14 @@ static void main(unsigned long bist) *dst = *src; //print_err(" dst is now "); print_err_hex32(*dst); print_err("\n"); dst++, src++; - outb((unsigned char)i, 0x80); + post_code(i & 0xff); } } dumpmem(); - outb(0, 0x80); + post_code(0x00); + print_err("loop forever\n"); - outb(0xdd, 0x80); + post_code(0xdd); __asm__ volatile( "movl %0, %%edi\n\t" "jmp *%%edi\n\t" |