diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-11-01 10:44:33 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-11-05 14:38:35 +0000 |
commit | 385ea8219d2f09d3f9d2d194392cf696d4e2aed7 (patch) | |
tree | 7a919d4b7d8385b2b49f66cc98e5403a040f8d61 /src/drivers/pc80/pc/udelay_io.c | |
parent | 092fe558ee20950faf29d8e7d581a2631e6e1bb4 (diff) |
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>
Diffstat (limited to 'src/drivers/pc80/pc/udelay_io.c')
-rw-r--r-- | src/drivers/pc80/pc/udelay_io.c | 27 |
1 files changed, 0 insertions, 27 deletions
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); -} |