[U-Boot] [U-Boot, v2, 1/5] delay: collect {m, n, u}delay declarations to include/linux/delay.h

Tom Rini trini at konsulko.com
Sun Jan 15 19:29:44 CET 2017


On Wed, Dec 28, 2016 at 12:35:59AM +0900, Masahiro Yamada wrote:

> 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 at socionext.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170115/796a02cb/attachment.sig>


More information about the U-Boot mailing list