summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.c
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2015-01-09 03:32:51 +0000
committerloos <loos@FreeBSD.org>2015-01-09 03:32:51 +0000
commit3897d680e70bcdb284725c1856cbb5b349247438 (patch)
tree1e60b23eb37541c95a5c10996e9f54f67ca222d1 /lib/libc/stdlib/random.c
parentbaf17b5b91aa1765acd5a69c5a67bcb0a8c94d68 (diff)
downloadFreeBSD-src-3897d680e70bcdb284725c1856cbb5b349247438.zip
FreeBSD-src-3897d680e70bcdb284725c1856cbb5b349247438.tar.gz
MFC r276249:
Fix the musb initialization sequence on AM335x. According to http://e2e.ti.com/support/arm/sitara_arm/f/791/t/210729 the USB reset pulse has an undocumented duration of 200ns and during this period the module must not be acessed. We wait for 100us to take into account for some imprecision of the early DELAY() loop. This fixes the eventual 'External Non-Linefetch Abort (S)' that happens at boot while resetting the musb subsystem. While here, enable the USB subsystem clock before the first access.
Diffstat (limited to 'lib/libc/stdlib/random.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud