mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-26 08:20:18 +00:00
utils.h: add mdelay
Signed-off-by: Sven Peter <sven@svenpeter.dev>
This commit is contained in:
parent
35007b700e
commit
17fdc79c13
1 changed files with 2 additions and 0 deletions
|
@ -315,6 +315,8 @@ int debug_printf(const char *fmt, ...);
|
|||
void udelay(u32 d);
|
||||
void reboot(void) __attribute__((noreturn));
|
||||
|
||||
#define mdelay(m) udelay((m)*1000)
|
||||
|
||||
#define panic(fmt, ...) \
|
||||
do { \
|
||||
debug_printf(fmt, ##__VA_ARGS__); \
|
||||
|
|
Loading…
Reference in a new issue