cosmetic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3221 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
04bec8e131
commit
a4ef262df8
|
@ -1409,6 +1409,7 @@ FAR struct usbhost_driver_s *usbhost_initialize(int controller)
|
|||
* 10: reserved
|
||||
* 11: U1=host, U2=device
|
||||
*
|
||||
* We need only select U1=host (Bit 0=1);
|
||||
* NOTE: The PORTSEL clock needs to be enabled when accessing OTGSTCTRL
|
||||
*/
|
||||
|
||||
|
@ -1418,7 +1419,7 @@ FAR struct usbhost_driver_s *usbhost_initialize(int controller)
|
|||
|
||||
lpc17_putreg((LPC17_CLKCTRL_ENABLES & ~USBDEV_CLK_PORTSELCLK), LPC17_USBOTG_CLKCTRL);
|
||||
|
||||
/* Step 3: Configure I/O pins */
|
||||
/* Configure I/O pins */
|
||||
|
||||
usbhost_dumpgpio();
|
||||
lpc17_configgpio(GPIO_USB_DP); /* Positive differential data */
|
||||
|
|
|
@ -139,8 +139,8 @@
|
|||
/* Bits 17-31: Reserved */
|
||||
|
||||
/* HcInterruptStatus: HC interrupt status (7.1.4),
|
||||
* HcInterruptEnable: HC interrupt enable (7.1.5), and
|
||||
* HcInterruptDisable: HC interrupt disable (7.1.6)
|
||||
* HcInterruptEnable: HC interrupt enable (7.1.5), and
|
||||
* HcInterruptDisable: HC interrupt disable (7.1.6)
|
||||
*/
|
||||
|
||||
#define OHCI_INT_SO (1 << 0) /* Bit 0: Scheduling overrun */
|
||||
|
|
Loading…
Reference in New Issue