2 * (C) Copyright 2000-2009
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * SPDX-License-Identifier: GPL-2.0+
11 #ifndef CONFIG_WD_PERIOD
12 # define CONFIG_WD_PERIOD (10 * 1000 * 1000) /* 10 seconds default*/
15 /* ------------------------------------------------------------------------- */
17 void udelay(unsigned long usec)
23 kv = usec > CONFIG_WD_PERIOD ? CONFIG_WD_PERIOD : usec;
29 void mdelay(unsigned long msec)