summaryrefslogtreecommitdiff
path: root/lib/rand.c
AgeCommit message (Collapse)Author
2012-07-07lib: add rand() functionMichael Walle
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>