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

@ -706,6 +706,7 @@ int strcmp_compar(const void *, const void *);
/* lib/time.c */
void udelay (unsigned long);
void mdelay(unsigned long);
/* lib/uuid.c */
void uuid_str_to_bin(const char *uuid, unsigned char *out);