drivers/pc80: Remove UDELAY_IO

Change-Id: I3ab62d9b1caa23305ad3b859e3c1949784ae0464
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36533
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Kyösti Mälkki 2019-11-01 10:44:33 +02:00
parent 092fe558ee
commit 385ea8219d
3 changed files with 0 additions and 33 deletions

View File

@ -18,10 +18,6 @@ config DRIVERS_PS2_KEYBOARD
this option, then you can say N here to speed up boot time.
Otherwise say Y.
config UDELAY_IO
bool
default n
# This option is used in code but never selected.
config UDELAY_TIMER2
bool

View File

@ -2,8 +2,6 @@ ifeq ($(CONFIG_ARCH_X86),y)
ramstage-y += isa-dma.c
ramstage-y += i8259.c
ramstage-$(CONFIG_UDELAY_IO) += udelay_io.c
romstage-$(CONFIG_UDELAY_IO) += udelay_io.c
ramstage-y += keyboard.c
ramstage-$(CONFIG_SPKMODEM) += spkmodem.c
romstage-$(CONFIG_SPKMODEM) += spkmodem.c

View File

@ -1,27 +0,0 @@
/*
* This file is part of the coreboot project.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <arch/io.h>
#include <delay.h>
void init_timer(void)
{
}
void udelay(unsigned int usecs)
{
int i;
for (i = 0; i < usecs; i++)
inb(0x80);
}