diff options
author | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2010-06-19 02:34:56 +0000 |
---|---|---|
committer | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2010-06-19 02:34:56 +0000 |
commit | 1510777266752a886022c93c44dc435960f1d167 (patch) | |
tree | 1a4130f9b75524ccd47b1182568170376cf92d5f /firmware/target/arm/as3525/system-target.h | |
parent | 06fa365fef61ad00712dc17270e9b9c698e3fc5e (diff) | |
download | rockbox-1510777266752a886022c93c44dc435960f1d167.tar.gz rockbox-1510777266752a886022c93c44dc435960f1d167.zip |
Add mdelay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26948 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/system-target.h')
-rw-r--r-- | firmware/target/arm/as3525/system-target.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-target.h b/firmware/target/arm/as3525/system-target.h index e8fce197e4..f7dc1ac312 100644 --- a/firmware/target/arm/as3525/system-target.h +++ b/firmware/target/arm/as3525/system-target.h | |||
@@ -50,4 +50,8 @@ extern int c200v2_variant; | |||
50 | #endif | 50 | #endif |
51 | 51 | ||
52 | void udelay(unsigned usecs); | 52 | void udelay(unsigned usecs); |
53 | static inline void mdelay(unsigned msecs) | ||
54 | { | ||
55 | udelay(1000 * msecs); | ||
56 | } | ||
53 | #endif /* SYSTEM_TARGET_H */ | 57 | #endif /* SYSTEM_TARGET_H */ |