mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
usb: ohci: Use a flexible array member for portstatus
The struct is only used to overlay the MMIO region, so the behavior is the same. This obsoletes the Kconfig option for the number of ports. Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
parent
36bc9b6113
commit
f4917b4933
67 changed files with 1 additions and 82 deletions
|
@ -60,6 +60,5 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_STORAGE=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -64,5 +64,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -64,5 +64,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -62,5 +62,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -65,6 +65,5 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_ATMEL_LCD_BGR555=y
|
||||
|
|
|
@ -65,6 +65,5 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_ATMEL_LCD_BGR555=y
|
||||
|
|
|
@ -63,6 +63,5 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_ATMEL_LCD_BGR555=y
|
||||
|
|
|
@ -67,6 +67,5 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_ATMEL_LCD_BGR555=y
|
||||
|
|
|
@ -67,6 +67,5 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_ATMEL_LCD_BGR555=y
|
||||
|
|
|
@ -65,6 +65,5 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_ATMEL_LCD_BGR555=y
|
||||
|
|
|
@ -68,6 +68,5 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_ATMEL_LCD_BGR555=y
|
||||
|
|
|
@ -69,6 +69,5 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_ATMEL_LCD_BGR555=y
|
||||
|
|
|
@ -62,5 +62,4 @@ CONFIG_SPI=y
|
|||
CONFIG_DM_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -62,5 +62,4 @@ CONFIG_SPI=y
|
|||
CONFIG_DM_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -60,5 +60,4 @@ CONFIG_SPI=y
|
|||
CONFIG_DM_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -65,5 +65,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -64,5 +64,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -64,5 +64,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -64,5 +64,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -62,5 +62,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -64,5 +64,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -64,5 +64,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -62,5 +62,4 @@ CONFIG_TIMER=y
|
|||
CONFIG_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
|
|
|
@ -62,6 +62,5 @@ CONFIG_DESIGNWARE_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
|
|
@ -101,7 +101,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_DWC3=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -102,7 +102,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_DWC3=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -71,5 +71,4 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -72,5 +72,4 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -67,6 +67,5 @@ CONFIG_BCM6345_SERIAL=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
CONFIG_WDT_BCM6345=y
|
||||
|
|
|
@ -71,5 +71,4 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -69,5 +69,4 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -108,7 +108,6 @@ CONFIG_USB=y
|
|||
# CONFIG_SPL_DM_USB is not set
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_DA8XX=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_MUSB_DA8XX=y
|
||||
CONFIG_USB_MUSB_PIO_ONLY=y
|
||||
|
|
|
@ -87,7 +87,6 @@ CONFIG_DAVINCI_SPI=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_DA8XX=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_MUSB_DA8XX=y
|
||||
CONFIG_USB_MUSB_PIO_ONLY=y
|
||||
|
|
|
@ -111,7 +111,6 @@ CONFIG_USB=y
|
|||
# CONFIG_SPL_DM_USB is not set
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_DA8XX=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_MUSB_DA8XX=y
|
||||
CONFIG_USB_MUSB_PIO_ONLY=y
|
||||
|
|
|
@ -88,6 +88,5 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="lpc32xx-ohci"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_OHCI_LPC32XX=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
@ -54,7 +54,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_DWC2=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_PRODUCT_NUM=0x110a
|
||||
|
|
|
@ -52,7 +52,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_DWC2=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_DWC2_OTG=y
|
||||
|
|
|
@ -97,7 +97,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_DWC2=y
|
||||
CONFIG_USB_DWC3=y
|
||||
# CONFIG_USB_DWC3_GADGET is not set
|
||||
|
|
|
@ -48,7 +48,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_DWC2=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_PRODUCT_NUM=0x110a
|
||||
|
|
|
@ -68,7 +68,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
|
|
|
@ -67,7 +67,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_PANIC_HANG=y
|
||||
|
|
|
@ -69,5 +69,4 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -64,7 +64,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_ASIX=y
|
||||
CONFIG_USB_ETHER_ASIX88179=y
|
||||
|
|
|
@ -63,7 +63,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_ASIX=y
|
||||
CONFIG_USB_ETHER_ASIX88179=y
|
||||
|
|
|
@ -64,7 +64,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_ASIX=y
|
||||
CONFIG_USB_ETHER_ASIX88179=y
|
||||
|
|
|
@ -101,7 +101,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_DWC2=y
|
||||
CONFIG_USB_DWC3=y
|
||||
# CONFIG_USB_DWC3_GADGET is not set
|
||||
|
|
|
@ -67,5 +67,4 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -103,7 +103,6 @@ CONFIG_USB=y
|
|||
# CONFIG_SPL_DM_USB is not set
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_DA8XX=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_MUSB_DA8XX=y
|
||||
CONFIG_USB_MUSB_PIO_ONLY=y
|
||||
|
|
|
@ -89,7 +89,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_DWC3=y
|
||||
CONFIG_USB_DWC3_GENERIC=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -61,7 +61,6 @@ CONFIG_SPI=y
|
|||
CONFIG_DM_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_VIDEO=y
|
||||
# CONFIG_VIDEO_BPP32 is not set
|
||||
|
|
|
@ -64,7 +64,6 @@ CONFIG_SPI=y
|
|||
CONFIG_DM_SPI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_VIDEO=y
|
||||
# CONFIG_VIDEO_BPP32 is not set
|
||||
|
|
|
@ -106,7 +106,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_DWC2=y
|
||||
CONFIG_USB_DWC3=y
|
||||
# CONFIG_USB_DWC3_GADGET is not set
|
||||
|
|
|
@ -107,7 +107,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_DWC2=y
|
||||
CONFIG_USB_DWC3=y
|
||||
# CONFIG_USB_DWC3_GADGET is not set
|
||||
|
|
|
@ -104,7 +104,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
CONFIG_USB_DWC2=y
|
||||
CONFIG_USB_DWC3=y
|
||||
# CONFIG_USB_DWC3_GADGET is not set
|
||||
|
|
|
@ -73,7 +73,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_DWC3=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
|
|
|
@ -88,7 +88,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_DWC3=y
|
||||
CONFIG_USB_DWC3_GENERIC=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
|
|
|
@ -102,7 +102,6 @@ CONFIG_ATMEL_PIT_TIMER=y
|
|||
CONFIG_SPL_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_USB_ATMEL_CLK_SEL_UPLL=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -105,7 +105,6 @@ CONFIG_ATMEL_PIT_TIMER=y
|
|||
CONFIG_SPL_ATMEL_PIT_TIMER=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_EHCI_HCD=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_USB_ATMEL_CLK_SEL_UPLL=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -71,5 +71,4 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -92,7 +92,6 @@ CONFIG_MACB=y
|
|||
CONFIG_RMII=y
|
||||
CONFIG_ATMEL_USART=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
|
||||
|
|
|
@ -98,6 +98,5 @@ CONFIG_USB=y
|
|||
# CONFIG_USB_EHCI_HCD is not set
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_PCI=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
|
|
|
@ -58,7 +58,6 @@ CONFIG_USB_EHCI_HCD=y
|
|||
CONFIG_USB_EHCI_GENERIC=y
|
||||
CONFIG_USB_OHCI_HCD=y
|
||||
CONFIG_USB_OHCI_GENERIC=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_DWC3=y
|
||||
CONFIG_USB_HOST_ETHER=y
|
||||
CONFIG_USB_ETHER_ASIX=y
|
||||
|
|
|
@ -110,7 +110,6 @@ CONFIG_SPECIFY_CONSOLE_INDEX=y
|
|||
CONFIG_ATMEL_USART=y
|
||||
CONFIG_USB=y
|
||||
# CONFIG_SPL_DM_USB is not set
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
|
||||
CONFIG_USB_ATMEL=y
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"
|
||||
|
|
|
@ -36,4 +36,3 @@ CONFIG_SYS_FLASH_CFI=y
|
|||
CONFIG_SYS_MAX_FLASH_SECT=259
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
|
|
|
@ -16,10 +16,6 @@ Configuration options
|
|||
|
||||
CONFIG_SYS_USB_OHCI_SLOT_NAME: slot name
|
||||
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS: maximal number of ports of the
|
||||
root hub.
|
||||
|
||||
|
||||
Endianness issues
|
||||
------------------
|
||||
|
||||
|
|
|
@ -365,11 +365,6 @@ config SYS_USB_OHCI_SLOT_NAME
|
|||
string "Display name for the OHCI controller"
|
||||
depends on USB_OHCI_NEW && !DM_USB
|
||||
|
||||
config SYS_USB_OHCI_MAX_ROOT_PORTS
|
||||
int "Maximal number of ports of the root hub"
|
||||
depends on USB_OHCI_NEW
|
||||
default 1 if ARCH_SUNXI
|
||||
|
||||
config SYS_OHCI_SWAP_REG_ACCESS
|
||||
bool "Perform byte swapping on OHCI controller register accesses"
|
||||
depends on USB_OHCI_NEW
|
||||
|
|
|
@ -146,14 +146,6 @@ struct ohci_hcca {
|
|||
u8 reserved_for_hc[116];
|
||||
} __attribute__((aligned(256)));
|
||||
|
||||
|
||||
/*
|
||||
* Maximum number of root hub ports.
|
||||
*/
|
||||
#ifndef CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This is the structure of the OHCI controller's memory mapped I/O
|
||||
* region. This is Memory Mapped I/O. You must use the ohci_readl() and
|
||||
|
@ -186,7 +178,7 @@ struct ohci_regs {
|
|||
__u32 a;
|
||||
__u32 b;
|
||||
__u32 status;
|
||||
__u32 portstatus[CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS];
|
||||
__u32 portstatus[];
|
||||
} roothub;
|
||||
} __attribute__((aligned(32)));
|
||||
|
||||
|
|
Loading…
Reference in a new issue