zephyr/drivers
Dmitriy Korovkin e2fa00be6e Algorithm improvement for timer based random number generator
The timer based pseudo random number generator returns the
number of system clock ticks. If the random number function is
called subsequently in a time less than a system clock tick, it
leads to getting same number.

To prevent this the counter is introduced. Counter gets changed
each call, so it ensures the caller gets different numbers each time
the random number function gets called.

Change-Id: Ibe57e1e7a23909b185623af8dbb7e80647c7ee08
Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
2016-02-05 20:14:12 -05:00
..
bluetooth Kbuild: include files dynamically based on BSP_DIR 2016-02-05 20:14:10 -05:00
console Kconfig: remove DRV_ configs 2016-02-05 20:14:11 -05:00
interrupt_controller Kbuild: include files dynamically based on BSP_DIR 2016-02-05 20:14:10 -05:00
pci Convert PCI_DEBUG parameter to a configuration parameter 2016-02-05 20:14:11 -05:00
random Algorithm improvement for timer based random number generator 2016-02-05 20:14:12 -05:00
serial Fix UART on Quark platform 2016-02-05 20:14:11 -05:00
timer Kconfig: remove DRV_ configs 2016-02-05 20:14:11 -05:00
Kconfig Kconfig: add Device Drivers menu 2016-02-05 20:14:11 -05:00
Makefile Random number generator driver unification 2016-02-05 20:14:12 -05:00