summaryrefslogtreecommitdiff
path: root/src/lib/delay.c
blob: af5f78613ea9940bb2e7c1adec14204d81aed597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <delay.h>
void mdelay(int msecs)
{
	int i;
	for(i = 0; i < msecs; i++) {
		udelay(1000);
	}
}
void delay(int secs)
{
	int i;
	for(i = 0; i < secs; i++) {
		mdelay(1000);
	}
}