summaryrefslogtreecommitdiff
path: root/src/drivers/pc80/pc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/pc80/pc')
-rw-r--r--src/drivers/pc80/pc/Kconfig4
-rw-r--r--src/drivers/pc80/pc/Makefile.inc2
-rw-r--r--src/drivers/pc80/pc/udelay_io.c27
3 files changed, 0 insertions, 33 deletions
diff --git a/src/drivers/pc80/pc/Kconfig b/src/drivers/pc80/pc/Kconfig
index bba45f6a64..06e6568f71 100644
--- a/src/drivers/pc80/pc/Kconfig
+++ b/src/drivers/pc80/pc/Kconfig
@@ -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
diff --git a/src/drivers/pc80/pc/Makefile.inc b/src/drivers/pc80/pc/Makefile.inc
index bd56cd43a1..67c40a1c19 100644
--- a/src/drivers/pc80/pc/Makefile.inc
+++ b/src/drivers/pc80/pc/Makefile.inc
@@ -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
diff --git a/src/drivers/pc80/pc/udelay_io.c b/src/drivers/pc80/pc/udelay_io.c
deleted file mode 100644
index 4fe1caeed9..0000000000
--- a/src/drivers/pc80/pc/udelay_io.c
+++ /dev/null
@@ -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);
-}