]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: add rand() function
authorMichael Walle <michael@walle.cc>
Tue, 5 Jun 2012 11:33:14 +0000 (11:33 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:32 +0000 (14:07 +0200)
commit9acf1ca50d8b031511d146f6ffd73201fedce28c
treea10e3bb54c3a410ea568ce0d69ff9ef42a601145
parentd131ad68c6566749df10154d2a6fa93df5865495
lib: add rand() function

It's a PRNG using the simple and fast xorshift method.

Signed-off-by: Michael Walle <michael@walle.cc>
Cc: Wolfgang Denk <wd@denx.de>
include/common.h
lib/Makefile
lib/rand.c [new file with mode: 0644]