SAMA5D3x-EK: Fix some backward conditional compilation

This commit is contained in:
Gregory Nutt 2013-08-24 14:06:47 -06:00
parent 26c03779f8
commit 02fc7a5a08
2 changed files with 6 additions and 2 deletions

View File

@ -3872,7 +3872,9 @@ FAR struct usbhost_connection_s *sam_ehci_initialize(int controller)
*
* REVISIT:
* - Should be done elsewhere in OTG mode.
* - Can we postpone enabling VBUS to save power?
* - Can we postpone enabling VBUS to save power? I think it can be
* done in sam_enumerate() and can probably be disabled when the
* port is disconnected.
* - Some EHCI implementations require setting the power bit in the
* PORTSC register to enable power.
*/

View File

@ -3207,7 +3207,9 @@ FAR struct usbhost_connection_s *sam_ohci_initialize(int controller)
*
* REVISIT:
* - Should be done elsewhere in OTG mode.
* - Can we postpone enabling VBUS to save power?
* - Can we postpone enabling VBUS to save power? I think it can be
* done in sam_enumerate() and can probably be disabled when the
* port is disconnected.
*/
#ifdef CONFIG_SAMA5_UHPHS_RHPORT1