1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-22 10:31:56 +02:00

consolidate mdelay by providing a common function for all users

There are several mdelay() definitions in the driver and
board code. Remove them all and provide a common mdelay()
in lib/time.c.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Anatolij Gustschin
2011-10-12 02:31:39 +00:00
committed by Wolfgang Denk
parent 712fbcf384
commit c4c9fbebae
20 changed files with 7 additions and 43 deletions

View File

@@ -78,7 +78,6 @@ Add SNMP
/* NE2000 base header file */
#include "ne2000_base.h"
#define mdelay(n) udelay((n)*1000)
/* find prom (taken from pc_net_cs.c from Linux) */
#include "8390.h"