]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r276249:
authorloos <loos@FreeBSD.org>
Fri, 9 Jan 2015 03:32:51 +0000 (03:32 +0000)
committerloos <loos@FreeBSD.org>
Fri, 9 Jan 2015 03:32:51 +0000 (03:32 +0000)
commit3897d680e70bcdb284725c1856cbb5b349247438
tree1e60b23eb37541c95a5c10996e9f54f67ca222d1
parentbaf17b5b91aa1765acd5a69c5a67bcb0a8c94d68
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.
sys/arm/ti/am335x/am335x_usbss.c