SAMA5 EHCI: Fix some compile issues when hub support is enabled
This commit is contained in:
parent
84983b0ab2
commit
534fb72355
@ -2764,7 +2764,7 @@ static int sam_qh_cancel(struct sam_qh_s *qh, uint32_t **bp, void *arg)
|
||||
*/
|
||||
|
||||
**bp = qh->hw.hlp;
|
||||
cp15_flush_idcache((uintptr_t)*bp, (uintptr_t)*bp + sizeof(uint32_t));
|
||||
cp15_flush_dcache((uintptr_t)*bp, (uintptr_t)*bp + sizeof(uint32_t));
|
||||
|
||||
/* Re-enable the schedules (if they were enabled before. */
|
||||
|
||||
|
@ -136,6 +136,7 @@ enum usbhost_trace1codes_e
|
||||
EHCI_VTRACE1_TOPHALF, /* EHCI Interrupt top half */
|
||||
EHCI_VTRACE1_AAINTR, /* EHCI Async Advance Interrupt */
|
||||
EHCI_VTRACE1_USBINTR, /* EHCI USB Interrupt (USBINT) Interrupt */
|
||||
EHCI_VTRACE1_CLASSENUM, /* EHCI Enumerate the device */
|
||||
EHCI_VTRACE1_ENUM_DISCONN, /* EHCI Enumeration not connected */
|
||||
EHCI_VTRACE1_INITIALIZING, /* EHCI Initializing EHCI Stack */
|
||||
EHCI_VTRACE1_HCCPARAMS, /* EHCI HCCPARAMS */
|
||||
@ -186,7 +187,6 @@ enum usbhost_trace1codes_e
|
||||
EHCI_VTRACE2_PORTSC_CONNECTED, /* EHCI RHPort connected */
|
||||
EHCI_VTRACE2_PORTSC_DISCONND, /* EHCI RHport disconnected */
|
||||
EHCI_VTRACE2_MONWAKEUP, /* EHCI RHPort connected wakeup */
|
||||
EHCI_VTRACE2_CLASSENUM, /* EHCI RHPort CLASS enumeration */
|
||||
EHCI_VTRACE2_EPALLOC, /* EHCI EPALLOC */
|
||||
EHCI_VTRACE2_CTRLINOUT, /* EHCI CTRLIN/OUT */
|
||||
EHCI_VTRACE2_HCIVERSION, /* EHCI HCIVERSION */
|
||||
|
@ -2023,11 +2023,15 @@ USB High-Speed Host
|
||||
CONFIG_USBHOST_ASYNCH=y : Asynchonous I/O supported needed for hubs
|
||||
|
||||
System Type -> USB High Speed Host driver options
|
||||
CONFIG_SAMA5_OHCI_NEDS=12 : You will probably want more pipes
|
||||
CONFIG_SAMA5_OHCI_NTDS=18
|
||||
CONFIG_SAMA5_OHCI_NEDS=12 : You will probably want more OHCI pipes
|
||||
CONFIG_SAMA5_OHCI_NTDS=18 : You will probably want more OHCI pipes
|
||||
CONFIG_SAMA5_OHCI_TDBUFFERS=12
|
||||
CONFIG_SAMA5_OHCI_TDBUFSIZE=128
|
||||
|
||||
CONFIG_SAMA5_EHCI_NQHS=12 : You will probably want more OHCI pipes
|
||||
CONFIG_SAMA5_EHCI_NQTDS=16 : You will probably want more OHCI pipes
|
||||
CONFIG_SAMA5_EHCI_BUFSIZE=128
|
||||
|
||||
Board Selection ->
|
||||
CONFIG_SAMA5D4EK_USBHOST_STACKSIZE=2048 (bigger than it needs to be)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user