1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00
Files
u-boot-megous/include
Masahiro Yamada 5bc516ed66 delay: collect {m, n, u}delay declarations to include/linux/delay.h
Currently, mdelay() and udelay() are declared in include/common.h,
while ndelay() in include/linux/compat.h.  It would be nice to
collect them into include/linux/delay.h like Linux.

While we are here, fix the ndelay() implementation; I used the
DIV_ROUND_UP() instead of (x)/1000 because it must wait *longer*
than the given period of time.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-01-14 16:46:28 -05:00
..
2016-12-03 13:21:21 -05:00
2016-12-03 13:21:23 -05:00
2016-10-19 09:01:51 +02:00
2016-11-14 23:24:03 +01:00
2016-12-08 10:36:22 -06:00
2016-10-23 12:08:48 -07:00
2016-10-19 09:01:52 +02:00
2016-11-19 08:41:44 +05:30
2017-01-04 16:37:41 +01:00
2016-10-12 10:56:51 +08:00
2016-10-23 18:33:48 -04:00
2016-10-31 10:13:17 -04:00