carl9170 firmware: add get_random_u16 helper
authorChristian Lamparter <chunkeey@googlemail.com>
Sun, 14 Feb 2016 23:33:56 +0000 (00:33 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Mon, 15 Feb 2016 00:13:19 +0000 (01:13 +0100)
commitb16e4b8d1a59abc67e1e7f2f4a5d297fbac6ee73
tree528010290c7c39132a3e11a111bb0d2bd2928334
parent028d6ee0b94849385de6d8c5b3117c3c22024df1
carl9170 firmware: add get_random_u16 helper

The HW has a built-in random number generator. This
patch adds a convenient helper to get random 16-bit
values in the firmware.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/include/gpio.h
carlfw/include/io.h