summaryrefslogtreecommitdiffstats
path: root/src/mainboard/emulation/qemu-x86/auto.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-10-11 18:21:45 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-10-11 18:21:45 +0000
commit4d7ec68856aa2c8aed6d84905e71d6f28900d52d (patch)
tree6223a1ed229cdbe80c7f0b10783fd066c5695fef /src/mainboard/emulation/qemu-x86/auto.c
parentc0528d61df39dc64e244c9c39eb62b7a32618a5c (diff)
downloadcoreboot-staging-4d7ec68856aa2c8aed6d84905e71d6f28900d52d.zip
coreboot-staging-4d7ec68856aa2c8aed6d84905e71d6f28900d52d.tar.gz
Remove useless udelay() duplication.
Abuild-tested for the boards that are touched. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4760 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/emulation/qemu-x86/auto.c')
-rw-r--r--src/mainboard/emulation/qemu-x86/auto.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mainboard/emulation/qemu-x86/auto.c b/src/mainboard/emulation/qemu-x86/auto.c
index 7cf4012..fb92ac9 100644
--- a/src/mainboard/emulation/qemu-x86/auto.c
+++ b/src/mainboard/emulation/qemu-x86/auto.c
@@ -11,16 +11,7 @@
#include "pc80/mc146818rtc_early.c"
#include "pc80/serial.c"
#include "arch/i386/lib/console.c"
-
-/*
- */
-void udelay(int usecs)
-{
- int i;
- for(i = 0; i < usecs; i++)
- outb(i&0xff, 0x80);
-}
-
+#include "pc80/udelay_io.c"
#include "lib/delay.c"
#include "cpu/x86/lapic/boot_cpu.c"
OpenPOWER on IntegriCloud