mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
712fbcf384
commit
c4c9fbebae
20 changed files with 7 additions and 43 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue