Remove useless udelay() duplication.

Abuild-tested for the boards that are touched.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4760 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2009-10-11 18:21:45 +00:00
parent c0528d61df
commit 4d7ec68856
11 changed files with 5 additions and 95 deletions

View File

@@ -11,16 +11,7 @@
#include "pc80/mc146818rtc_early.c"
#include "pc80/serial.c"
#include "arch/i386/lib/console.c"
/*
*/
void udelay(int usecs)
{
int i;
for(i = 0; i < usecs; i++)
outb(i&0xff, 0x80);
}
#include "pc80/udelay_io.c"
#include "lib/delay.c"
#include "cpu/x86/lapic/boot_cpu.c"

View File

@@ -7,15 +7,6 @@
#include <console/console.h>
#include <cbfs.h>
/*
*/
void udelay(int usecs)
{
int i;
for(i = 0; i < usecs; i++)
outb(i&0xff, 0x80);
}
void main(void)
{
int i;
@@ -26,5 +17,4 @@ void main(void)
uart_init();
start_address = cbfs_load_stage("fallback/coreboot_ram");
start_address();
}