From 766db7ea09addca79d91436cb7ac06a9bff491a5 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 11 Jan 2010 09:05:52 +0000 Subject: Make qemu use the udelay function in src/pc80/udelay_io.c instead of the equivalent copy in src/cpu/emulation/qemu-x86/northbridge.c. Also, delete the copy. Signed-off-by: Patrick Georgi Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5006 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/emulation/qemu-x86/northbridge.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/cpu/emulation') diff --git a/src/cpu/emulation/qemu-x86/northbridge.c b/src/cpu/emulation/qemu-x86/northbridge.c index 44fb1ce598..bac18806d4 100644 --- a/src/cpu/emulation/qemu-x86/northbridge.c +++ b/src/cpu/emulation/qemu-x86/northbridge.c @@ -157,12 +157,3 @@ struct chip_operations cpu_emulation_qemu_x86_ops = { CHIP_NAME("QEMU Northbridge") .enable_dev = enable_dev, }; - -void udelay(unsigned usecs) -{ - unsigned i; - for(i = 0; i < usecs; i++) - inb(0x80); -} - - -- cgit v1.2.3