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 <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5006 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
07684e6ce7
commit
766db7ea09
3 changed files with 2 additions and 19 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue