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:
Samuel Holland 2022-10-30 23:15:12 -05:00 committed by Marek Vasut
parent 36bc9b6113
commit f4917b4933
67 changed files with 1 additions and 82 deletions

View File

@ -60,6 +60,5 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE=y
# CONFIG_EFI_LOADER is not set # CONFIG_EFI_LOADER is not set

View File

@ -64,5 +64,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -64,5 +64,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -62,5 +62,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -65,6 +65,5 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_ATMEL_LCD_BGR555=y CONFIG_ATMEL_LCD_BGR555=y

View File

@ -65,6 +65,5 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_ATMEL_LCD_BGR555=y CONFIG_ATMEL_LCD_BGR555=y

View File

@ -63,6 +63,5 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_ATMEL_LCD_BGR555=y CONFIG_ATMEL_LCD_BGR555=y

View File

@ -67,6 +67,5 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_ATMEL_LCD_BGR555=y CONFIG_ATMEL_LCD_BGR555=y

View File

@ -67,6 +67,5 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_ATMEL_LCD_BGR555=y CONFIG_ATMEL_LCD_BGR555=y

View File

@ -65,6 +65,5 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_ATMEL_LCD_BGR555=y CONFIG_ATMEL_LCD_BGR555=y

View File

@ -68,6 +68,5 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_ATMEL_LCD_BGR555=y CONFIG_ATMEL_LCD_BGR555=y

View File

@ -69,6 +69,5 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_ATMEL_LCD_BGR555=y CONFIG_ATMEL_LCD_BGR555=y

View File

@ -62,5 +62,4 @@ CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -62,5 +62,4 @@ CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -60,5 +60,4 @@ CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -65,5 +65,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -64,5 +64,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -64,5 +64,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -64,5 +64,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -62,5 +62,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -64,5 +64,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -64,5 +64,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -62,5 +62,4 @@ CONFIG_TIMER=y
CONFIG_ATMEL_PIT_TIMER=y CONFIG_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9260"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y

View File

@ -62,6 +62,5 @@ CONFIG_DESIGNWARE_SPI=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE=y
CONFIG_USE_PRIVATE_LIBGCC=y CONFIG_USE_PRIVATE_LIBGCC=y

View File

@ -101,7 +101,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
CONFIG_USB_KEYBOARD=y CONFIG_USB_KEYBOARD=y
CONFIG_USB_HOST_ETHER=y CONFIG_USB_HOST_ETHER=y

View File

@ -102,7 +102,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
CONFIG_USB_KEYBOARD=y CONFIG_USB_KEYBOARD=y
CONFIG_USB_HOST_ETHER=y CONFIG_USB_HOST_ETHER=y

View File

@ -71,5 +71,4 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y

View File

@ -72,5 +72,4 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y

View File

@ -67,6 +67,5 @@ CONFIG_BCM6345_SERIAL=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
CONFIG_WDT_BCM6345=y CONFIG_WDT_BCM6345=y

View File

@ -71,5 +71,4 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y

View File

@ -69,5 +69,4 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y

View File

@ -108,7 +108,6 @@ CONFIG_USB=y
# CONFIG_SPL_DM_USB is not set # CONFIG_SPL_DM_USB is not set
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_DA8XX=y CONFIG_USB_OHCI_DA8XX=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
CONFIG_USB_MUSB_HOST=y CONFIG_USB_MUSB_HOST=y
CONFIG_USB_MUSB_DA8XX=y CONFIG_USB_MUSB_DA8XX=y
CONFIG_USB_MUSB_PIO_ONLY=y CONFIG_USB_MUSB_PIO_ONLY=y

View File

@ -87,7 +87,6 @@ CONFIG_DAVINCI_SPI=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_DA8XX=y CONFIG_USB_OHCI_DA8XX=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
CONFIG_USB_MUSB_HOST=y CONFIG_USB_MUSB_HOST=y
CONFIG_USB_MUSB_DA8XX=y CONFIG_USB_MUSB_DA8XX=y
CONFIG_USB_MUSB_PIO_ONLY=y CONFIG_USB_MUSB_PIO_ONLY=y

View File

@ -111,7 +111,6 @@ CONFIG_USB=y
# CONFIG_SPL_DM_USB is not set # CONFIG_SPL_DM_USB is not set
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_DA8XX=y CONFIG_USB_OHCI_DA8XX=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
CONFIG_USB_MUSB_HOST=y CONFIG_USB_MUSB_HOST=y
CONFIG_USB_MUSB_DA8XX=y CONFIG_USB_MUSB_DA8XX=y
CONFIG_USB_MUSB_PIO_ONLY=y CONFIG_USB_MUSB_PIO_ONLY=y

View File

@ -88,6 +88,5 @@ CONFIG_SYS_NS16550=y
CONFIG_SPI=y CONFIG_SPI=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="lpc32xx-ohci" CONFIG_SYS_USB_OHCI_SLOT_NAME="lpc32xx-ohci"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_OHCI_LPC32XX=y CONFIG_USB_OHCI_LPC32XX=y
CONFIG_OF_LIBFDT=y CONFIG_OF_LIBFDT=y

View File

@ -54,7 +54,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_DWC2=y CONFIG_USB_DWC2=y
CONFIG_USB_GADGET=y CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_PRODUCT_NUM=0x110a CONFIG_USB_GADGET_PRODUCT_NUM=0x110a

View File

@ -52,7 +52,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_DWC2=y CONFIG_USB_DWC2=y
CONFIG_USB_GADGET=y CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DWC2_OTG=y CONFIG_USB_GADGET_DWC2_OTG=y

View File

@ -97,7 +97,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_DWC2=y CONFIG_USB_DWC2=y
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
# CONFIG_USB_DWC3_GADGET is not set # CONFIG_USB_DWC3_GADGET is not set

View File

@ -48,7 +48,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_DWC2=y CONFIG_USB_DWC2=y
CONFIG_USB_GADGET=y CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_PRODUCT_NUM=0x110a CONFIG_USB_GADGET_PRODUCT_NUM=0x110a

View File

@ -68,7 +68,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE=y
CONFIG_USE_PRIVATE_LIBGCC=y CONFIG_USE_PRIVATE_LIBGCC=y
CONFIG_PANIC_HANG=y CONFIG_PANIC_HANG=y

View File

@ -67,7 +67,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE=y
CONFIG_USE_PRIVATE_LIBGCC=y CONFIG_USE_PRIVATE_LIBGCC=y
CONFIG_PANIC_HANG=y CONFIG_PANIC_HANG=y

View File

@ -69,5 +69,4 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y

View File

@ -64,7 +64,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_HOST_ETHER=y CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX=y
CONFIG_USB_ETHER_ASIX88179=y CONFIG_USB_ETHER_ASIX88179=y

View File

@ -63,7 +63,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_HOST_ETHER=y CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX=y
CONFIG_USB_ETHER_ASIX88179=y CONFIG_USB_ETHER_ASIX88179=y

View File

@ -64,7 +64,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_HOST_ETHER=y CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX=y
CONFIG_USB_ETHER_ASIX88179=y CONFIG_USB_ETHER_ASIX88179=y

View File

@ -101,7 +101,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_DWC2=y CONFIG_USB_DWC2=y
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
# CONFIG_USB_DWC3_GADGET is not set # CONFIG_USB_DWC3_GADGET is not set

View File

@ -67,5 +67,4 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y

View File

@ -103,7 +103,6 @@ CONFIG_USB=y
# CONFIG_SPL_DM_USB is not set # CONFIG_SPL_DM_USB is not set
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_DA8XX=y CONFIG_USB_OHCI_DA8XX=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
CONFIG_USB_MUSB_HOST=y CONFIG_USB_MUSB_HOST=y
CONFIG_USB_MUSB_DA8XX=y CONFIG_USB_MUSB_DA8XX=y
CONFIG_USB_MUSB_PIO_ONLY=y CONFIG_USB_MUSB_PIO_ONLY=y

View File

@ -89,7 +89,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_DWC3_GENERIC=y
CONFIG_USB_KEYBOARD=y CONFIG_USB_KEYBOARD=y

View File

@ -61,7 +61,6 @@ CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9261"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_VIDEO=y CONFIG_VIDEO=y
# CONFIG_VIDEO_BPP32 is not set # CONFIG_VIDEO_BPP32 is not set

View File

@ -64,7 +64,6 @@ CONFIG_SPI=y
CONFIG_DM_SPI=y CONFIG_DM_SPI=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263" CONFIG_SYS_USB_OHCI_SLOT_NAME="at91sam9263"
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_VIDEO=y CONFIG_VIDEO=y
# CONFIG_VIDEO_BPP32 is not set # CONFIG_VIDEO_BPP32 is not set

View File

@ -106,7 +106,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_DWC2=y CONFIG_USB_DWC2=y
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
# CONFIG_USB_DWC3_GADGET is not set # CONFIG_USB_DWC3_GADGET is not set

View File

@ -107,7 +107,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_DWC2=y CONFIG_USB_DWC2=y
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
# CONFIG_USB_DWC3_GADGET is not set # CONFIG_USB_DWC3_GADGET is not set

View File

@ -104,7 +104,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
CONFIG_USB_DWC2=y CONFIG_USB_DWC2=y
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
# CONFIG_USB_DWC3_GADGET is not set # CONFIG_USB_DWC3_GADGET is not set

View File

@ -73,7 +73,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
CONFIG_USB_KEYBOARD=y CONFIG_USB_KEYBOARD=y
CONFIG_USB_HOST_ETHER=y CONFIG_USB_HOST_ETHER=y

View File

@ -88,7 +88,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
CONFIG_USB_DWC3_GENERIC=y CONFIG_USB_DWC3_GENERIC=y
CONFIG_USB_KEYBOARD=y CONFIG_USB_KEYBOARD=y

View File

@ -102,7 +102,6 @@ CONFIG_ATMEL_PIT_TIMER=y
CONFIG_SPL_ATMEL_PIT_TIMER=y CONFIG_SPL_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_USB_ATMEL_CLK_SEL_UPLL=y CONFIG_USB_ATMEL_CLK_SEL_UPLL=y
CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE=y

View File

@ -105,7 +105,6 @@ CONFIG_ATMEL_PIT_TIMER=y
CONFIG_SPL_ATMEL_PIT_TIMER=y CONFIG_SPL_ATMEL_PIT_TIMER=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_USB_ATMEL_CLK_SEL_UPLL=y CONFIG_USB_ATMEL_CLK_SEL_UPLL=y
CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE=y

View File

@ -71,5 +71,4 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y

View File

@ -92,7 +92,6 @@ CONFIG_MACB=y
CONFIG_RMII=y CONFIG_RMII=y
CONFIG_ATMEL_USART=y CONFIG_ATMEL_USART=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG" CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"

View File

@ -98,6 +98,5 @@ CONFIG_USB=y
# CONFIG_USB_EHCI_HCD is not set # CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_PCI=y CONFIG_USB_OHCI_PCI=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=15
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE=y

View File

@ -58,7 +58,6 @@ CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_EHCI_GENERIC=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_OHCI_GENERIC=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_DWC3=y CONFIG_USB_DWC3=y
CONFIG_USB_HOST_ETHER=y CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_ASIX=y

View File

@ -110,7 +110,6 @@ CONFIG_SPECIFY_CONSOLE_INDEX=y
CONFIG_ATMEL_USART=y CONFIG_ATMEL_USART=y
CONFIG_USB=y CONFIG_USB=y
# CONFIG_SPL_DM_USB is not set # CONFIG_SPL_DM_USB is not set
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_ATMEL=y CONFIG_USB_ATMEL=y
CONFIG_USB_GADGET=y CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_MANUFACTURER="Siemens AG" CONFIG_USB_GADGET_MANUFACTURER="Siemens AG"

View File

@ -36,4 +36,3 @@ CONFIG_SYS_FLASH_CFI=y
CONFIG_SYS_MAX_FLASH_SECT=259 CONFIG_SYS_MAX_FLASH_SECT=259
CONFIG_PCI=y CONFIG_PCI=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1

View File

@ -16,10 +16,6 @@ Configuration options
CONFIG_SYS_USB_OHCI_SLOT_NAME: slot name 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 Endianness issues
------------------ ------------------

View File

@ -365,11 +365,6 @@ config SYS_USB_OHCI_SLOT_NAME
string "Display name for the OHCI controller" string "Display name for the OHCI controller"
depends on USB_OHCI_NEW && !DM_USB 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 config SYS_OHCI_SWAP_REG_ACCESS
bool "Perform byte swapping on OHCI controller register accesses" bool "Perform byte swapping on OHCI controller register accesses"
depends on USB_OHCI_NEW depends on USB_OHCI_NEW

View File

@ -146,14 +146,6 @@ struct ohci_hcca {
u8 reserved_for_hc[116]; u8 reserved_for_hc[116];
} __attribute__((aligned(256))); } __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 * 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 * region. This is Memory Mapped I/O. You must use the ohci_readl() and
@ -186,7 +178,7 @@ struct ohci_regs {
__u32 a; __u32 a;
__u32 b; __u32 b;
__u32 status; __u32 status;
__u32 portstatus[CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS]; __u32 portstatus[];
} roothub; } roothub;
} __attribute__((aligned(32))); } __attribute__((aligned(32)));