diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-10-12 02:31:39 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-22 01:16:08 +0200 |
commit | c4c9fbebae6a62d538817d0ccee698adaafc5d66 (patch) | |
tree | 91e9e2b82568b32bf3135bdc25d0a852f6c31095 /include/common.h | |
parent | 712fbcf384b7fbe6118325f21dad98150b24f13b (diff) | |
download | u-boot-imx-c4c9fbebae6a62d538817d0ccee698adaafc5d66.zip u-boot-imx-c4c9fbebae6a62d538817d0ccee698adaafc5d66.tar.gz u-boot-imx-c4c9fbebae6a62d538817d0ccee698adaafc5d66.tar.bz2 |
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>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index e3ef66d..ccd3dd7 100644 --- a/include/common.h +++ b/include/common.h @@ -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); |