mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
Convert CONFIG_USB_OHCI_NEW et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_OHCI_SWAP_REG_ACCESS CONFIG_SYS_USB_OHCI_CPU_INIT CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS CONFIG_SYS_USB_OHCI_SLOT_NAME CONFIG_USB_ATMEL CONFIG_USB_ATMEL_CLK_SEL_PLLB CONFIG_USB_ATMEL_CLK_SEL_UPLL CONFIG_USB_OHCI_LPC32XX CONFIG_USB_OHCI_NEW Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
b340199f82
commit
cd6a45a41f
107 changed files with 173 additions and 214 deletions
|
@ -52,11 +52,7 @@
|
|||
|
||||
/* USB OHCI */
|
||||
#if defined(CONFIG_USB_OHCI_LPC32XX)
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE USB_BASE
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "lpc32xx-ohci"
|
||||
#endif
|
||||
|
||||
#endif /* _LPC32XX_CONFIG_H */
|
||||
|
|
|
@ -65,3 +65,6 @@ CONFIG_DM_SPI=y
|
|||
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,3 +65,6 @@ CONFIG_DM_SPI=y
|
|||
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
|
||||
|
|
|
@ -63,3 +63,6 @@ CONFIG_DM_SPI=y
|
|||
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,4 +65,7 @@ CONFIG_DM_SPI=y
|
|||
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,4 +65,7 @@ CONFIG_DM_SPI=y
|
|||
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,4 +63,7 @@ CONFIG_DM_SPI=y
|
|||
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
|
||||
|
|
|
@ -68,4 +68,7 @@ CONFIG_DM_SPI=y
|
|||
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,4 +68,7 @@ CONFIG_DM_SPI=y
|
|||
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
|
||||
|
|
|
@ -66,4 +66,7 @@ CONFIG_DM_SPI=y
|
|||
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,4 +68,7 @@ CONFIG_DM_SPI=y
|
|||
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,4 +69,7 @@ CONFIG_DM_SPI=y
|
|||
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,3 +62,6 @@ CONFIG_ATMEL_USART=y
|
|||
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,3 +62,6 @@ CONFIG_ATMEL_USART=y
|
|||
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,3 +60,6 @@ CONFIG_ATMEL_USART=y
|
|||
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
|
||||
|
|
|
@ -66,3 +66,6 @@ CONFIG_DM_SPI=y
|
|||
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,3 +65,6 @@ CONFIG_DM_SPI=y
|
|||
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,3 +65,6 @@ CONFIG_DM_SPI=y
|
|||
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,3 +65,6 @@ CONFIG_DM_SPI=y
|
|||
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
|
||||
|
|
|
@ -63,3 +63,6 @@ CONFIG_DM_SPI=y
|
|||
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,3 +65,6 @@ CONFIG_DM_SPI=y
|
|||
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,3 +65,6 @@ CONFIG_DM_SPI=y
|
|||
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
|
||||
|
|
|
@ -63,3 +63,6 @@ CONFIG_DM_SPI=y
|
|||
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,6 @@ 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
|
||||
|
|
|
@ -102,6 +102,7 @@ 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
|
||||
|
|
|
@ -103,6 +103,7 @@ 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
|
||||
|
|
|
@ -72,3 +72,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=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -73,3 +73,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=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -67,4 +67,6 @@ 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
|
||||
|
|
|
@ -72,3 +72,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=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -69,3 +69,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=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -110,6 +110,7 @@ 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,7 @@ 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
|
||||
|
|
|
@ -113,6 +113,7 @@ 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
|
||||
|
|
|
@ -86,4 +86,7 @@ CONFIG_CONS_INDEX=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
|
||||
|
|
|
@ -55,6 +55,7 @@ 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
|
||||
|
|
|
@ -51,6 +51,7 @@ 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
|
||||
|
|
|
@ -99,6 +99,7 @@ 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
|
||||
|
|
|
@ -49,6 +49,7 @@ 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,6 +68,7 @@ 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,6 +67,7 @@ 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,3 +69,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=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -65,6 +65,7 @@ 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,6 +64,7 @@ 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
|
||||
|
|
|
@ -65,6 +65,7 @@ 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
|
||||
|
|
|
@ -102,6 +102,7 @@ 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
|
||||
|
|
|
@ -68,3 +68,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=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -105,6 +105,7 @@ 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
|
||||
|
|
|
@ -90,6 +90,7 @@ 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,6 +61,9 @@ CONFIG_ATMEL_USART=y
|
|||
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_DM_VIDEO=y
|
||||
# CONFIG_VIDEO_BPP32 is not set
|
||||
CONFIG_ATMEL_LCD=y
|
||||
|
|
|
@ -65,6 +65,9 @@ CONFIG_ATMEL_USART=y
|
|||
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_DM_VIDEO=y
|
||||
# CONFIG_VIDEO_BPP32 is not set
|
||||
CONFIG_ATMEL_LCD=y
|
||||
|
|
|
@ -108,6 +108,7 @@ 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
|
||||
|
|
|
@ -109,6 +109,7 @@ 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
|
||||
|
|
|
@ -106,6 +106,7 @@ 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
|
||||
|
|
|
@ -74,6 +74,7 @@ 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
|
||||
|
|
|
@ -87,6 +87,7 @@ 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
|
||||
|
|
|
@ -104,6 +104,9 @@ 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
|
||||
CONFIG_W1=y
|
||||
CONFIG_W1_GPIO=y
|
||||
|
|
|
@ -107,6 +107,9 @@ 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
|
||||
CONFIG_W1=y
|
||||
CONFIG_W1_GPIO=y
|
||||
|
|
|
@ -71,3 +71,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=2
|
||||
CONFIG_SYS_OHCI_SWAP_REG_ACCESS=y
|
||||
|
|
|
@ -92,6 +92,8 @@ 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"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0908
|
||||
|
|
|
@ -96,4 +96,6 @@ 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,6 +58,7 @@ 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,6 +110,8 @@ 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"
|
||||
CONFIG_USB_GADGET_VENDOR_NUM=0x0908
|
||||
|
|
|
@ -35,3 +35,4 @@ CONFIG_SYS_FLASH_CFI=y
|
|||
CONFIG_DM_ETH=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=1
|
||||
|
|
|
@ -297,10 +297,17 @@ config USB_EHCI_TXFIFO_THRESH
|
|||
|
||||
endif # USB_EHCI_HCD
|
||||
|
||||
config USB_OHCI_NEW
|
||||
bool
|
||||
|
||||
config SYS_USB_OHCI_CPU_INIT
|
||||
bool
|
||||
|
||||
config USB_OHCI_HCD
|
||||
bool "OHCI HCD (USB 1.1) support"
|
||||
depends on DM && OF_CONTROL
|
||||
select USB_HOST
|
||||
select USB_OHCI_NEW
|
||||
---help---
|
||||
The Open Host Controller Interface (OHCI) is a standard for accessing
|
||||
USB 1.1 host controller hardware. It does more in hardware than Intel's
|
||||
|
@ -332,6 +339,19 @@ config USB_OHCI_DA8XX
|
|||
|
||||
endif # USB_OHCI_HCD
|
||||
|
||||
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
|
||||
|
||||
config USB_UHCI_HCD
|
||||
bool "UHCI HCD (most Intel and VIA) support"
|
||||
select USB_HOST
|
||||
|
@ -381,6 +401,30 @@ config USB_R8A66597_HCD
|
|||
This enables support for the on-chip Renesas R8A66597 USB 2.0
|
||||
controller, present in various RZ and SH SoCs.
|
||||
|
||||
config USB_ATMEL
|
||||
bool "AT91 OHCI USB support"
|
||||
depends on ARCH_AT91
|
||||
select SYS_USB_OHCI_CPU_INIT
|
||||
select USB_OHCI_NEW
|
||||
|
||||
choice
|
||||
prompt "Clock for OHCI"
|
||||
depends on USB_ATMEL
|
||||
|
||||
config USB_ATMEL_CLK_SEL_PLLB
|
||||
bool "PLLB"
|
||||
|
||||
config USB_ATMEL_CLK_SEL_UPLL
|
||||
bool "UPLL"
|
||||
|
||||
endchoice
|
||||
|
||||
config USB_OHCI_LPC32XX
|
||||
bool "LPC32xx USB OHCI support"
|
||||
depends on ARCH_LPC32XX
|
||||
select SYS_USB_OHCI_CPU_INIT
|
||||
select USB_OHCI_NEW
|
||||
|
||||
config USB_MAX_CONTROLLER_COUNT
|
||||
int "Maximum number of USB host controllers"
|
||||
depends on USB_EHCI_FSL || USB_XHCI_FSL || \
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_USB_OHCI_NEW) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT)
|
||||
|
||||
#include <asm/arch/clk.h>
|
||||
|
||||
int usb_cpu_init(void)
|
||||
|
@ -65,5 +62,3 @@ int usb_cpu_init_fail(void)
|
|||
{
|
||||
return usb_cpu_stop();
|
||||
}
|
||||
|
||||
#endif /* defined(CONFIG_USB_OHCI) && defined(CONFIG_SYS_USB_OHCI_CPU_INIT) */
|
||||
|
|
|
@ -14,10 +14,6 @@
|
|||
#include <reset.h>
|
||||
#include "ohci.h"
|
||||
|
||||
#if !defined(CONFIG_USB_OHCI_NEW)
|
||||
# error "Generic OHCI driver requires CONFIG_USB_OHCI_NEW"
|
||||
#endif
|
||||
|
||||
struct generic_ohci {
|
||||
ohci_t ohci;
|
||||
struct clk *clocks; /* clock list */
|
||||
|
|
|
@ -151,7 +151,7 @@ struct ohci_hcca {
|
|||
* Maximum number of root hub ports.
|
||||
*/
|
||||
#ifndef CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS
|
||||
# error "CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS undefined!"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -53,12 +53,6 @@
|
|||
#endif
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_PLLB
|
||||
#define CONFIG_USB_OHCI_NEW 1
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT 1
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00500000 /* AT91SAM9260_UHP_BASE */
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9260"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
|
||||
#endif
|
||||
|
|
|
@ -51,16 +51,6 @@
|
|||
#define CONFIG_DM9000_NO_SROM
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_PLLB
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00500000 /* AT91SAM9261_UHP_BASE */
|
||||
#ifdef CONFIG_AT91SAM9G10EK
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9g10"
|
||||
#else
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9261"
|
||||
#endif
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
|
||||
#endif
|
||||
|
|
|
@ -173,12 +173,6 @@
|
|||
#endif
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_PLLB
|
||||
#define CONFIG_USB_OHCI_NEW 1
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT 1
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00a00000 /* AT91SAM9263_UHP_BASE */
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9263"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
|
||||
#endif
|
||||
|
|
|
@ -41,13 +41,7 @@
|
|||
|
||||
/* USB host */
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_PLLB
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_BASE_OHCI
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9n12"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
#endif
|
||||
|
||||
/* SPL */
|
||||
|
|
|
@ -41,13 +41,7 @@
|
|||
/* USB */
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#ifndef CONFIG_USB_EHCI_HCD
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_UPLL
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_BASE_OHCI
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9x5"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -39,8 +39,6 @@
|
|||
/*
|
||||
* USB 1.1 configuration
|
||||
*/
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
|
||||
/*
|
||||
* Environment settings
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
/* RAM */
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_SYS_OHCI_SWAP_REG_ACCESS
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#if defined(CONFIG_USB_OHCI_HCD)
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#endif /* CONFIG_USB_OHCI_HCD */
|
||||
|
||||
/* U-Boot */
|
||||
|
||||
#if defined(CONFIG_BMIPS_BOOT_RAM)
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
/* RAM */
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_SYS_OHCI_SWAP_REG_ACCESS
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#if defined(CONFIG_USB_OHCI_HCD)
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#endif /* CONFIG_USB_OHCI_HCD */
|
||||
|
||||
/* U-Boot */
|
||||
|
||||
#if defined(CONFIG_BMIPS_BOOT_RAM)
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
/* RAM */
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_SYS_OHCI_SWAP_REG_ACCESS
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#if defined(CONFIG_USB_OHCI_HCD)
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#endif /* CONFIG_USB_OHCI_HCD */
|
||||
|
||||
/* U-Boot */
|
||||
|
||||
#if defined(CONFIG_BMIPS_BOOT_RAM)
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
/* RAM */
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_SYS_OHCI_SWAP_REG_ACCESS
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#if defined(CONFIG_USB_OHCI_HCD)
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#endif /* CONFIG_USB_OHCI_HCD */
|
||||
|
||||
/* U-Boot */
|
||||
|
||||
#if defined(CONFIG_BMIPS_BOOT_RAM)
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
/* RAM */
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_SYS_OHCI_SWAP_REG_ACCESS
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#if defined(CONFIG_USB_OHCI_HCD)
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#endif /* CONFIG_USB_OHCI_HCD */
|
||||
|
||||
/* U-Boot */
|
||||
|
||||
#if defined(CONFIG_BMIPS_BOOT_RAM)
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
/* RAM */
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_SYS_OHCI_SWAP_REG_ACCESS
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#if defined(CONFIG_USB_OHCI_HCD)
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#endif /* CONFIG_USB_OHCI_HCD */
|
||||
|
||||
/* U-Boot */
|
||||
|
||||
#if defined(CONFIG_BMIPS_BOOT_RAM)
|
||||
|
|
|
@ -14,13 +14,6 @@
|
|||
/* RAM */
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_SYS_OHCI_SWAP_REG_ACCESS
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#if defined(CONFIG_USB_OHCI_HCD)
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#endif /* CONFIG_USB_OHCI_HCD */
|
||||
|
||||
/* U-Boot */
|
||||
|
||||
#if defined(CONFIG_BMIPS_BOOT_RAM)
|
||||
|
|
|
@ -170,10 +170,6 @@
|
|||
"console=ttyS2,115200n8\0" \
|
||||
"hwconfig=dsp:wake=yes"
|
||||
|
||||
/* USB Configs */
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 15
|
||||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
/* defines for SPL */
|
||||
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
/*
|
||||
* USB
|
||||
*/
|
||||
#define CONFIG_USB_OHCI_LPC32XX
|
||||
#define CONFIG_USB_ISP1301_I2C_ADDR 0x2d
|
||||
|
||||
/*
|
||||
|
|
|
@ -61,13 +61,7 @@
|
|||
|
||||
/* USB */
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_PLLB
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00500000
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "host"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#endif
|
||||
|
||||
/* RTC */
|
||||
|
|
|
@ -15,7 +15,4 @@
|
|||
|
||||
#define SDRAM_BANK_SIZE (2UL << 30)
|
||||
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
|
||||
#endif
|
||||
|
|
|
@ -13,7 +13,4 @@
|
|||
|
||||
#include <configs/rk3399_common.h>
|
||||
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
|
||||
#endif
|
||||
|
|
|
@ -38,12 +38,6 @@
|
|||
* Ethernet PHY configuration
|
||||
*/
|
||||
|
||||
/*
|
||||
* USB 1.1 configuration
|
||||
*/
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
|
||||
/*
|
||||
* Environment settings
|
||||
*/
|
||||
|
|
|
@ -37,12 +37,6 @@
|
|||
* Ethernet PHY configuration
|
||||
*/
|
||||
|
||||
/*
|
||||
* USB 1.1 configuration
|
||||
*/
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
|
||||
/*
|
||||
* Environment settings
|
||||
*/
|
||||
|
|
|
@ -137,12 +137,6 @@
|
|||
* U-Boot general configuration
|
||||
*/
|
||||
|
||||
/*
|
||||
* USB Configs
|
||||
*/
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 15
|
||||
|
||||
/*
|
||||
* Linux Information
|
||||
*/
|
||||
|
|
|
@ -16,7 +16,4 @@
|
|||
|
||||
#define SDRAM_BANK_SIZE (2UL << 30)
|
||||
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
|
||||
#endif
|
||||
|
|
|
@ -152,13 +152,7 @@
|
|||
#define CONFIG_SYS_MAX_FLASH_SECT 256
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_PLLB
|
||||
#define CONFIG_USB_OHCI_NEW 1
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT 1
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00500000
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9261"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"partition=nand0,0\0" \
|
||||
|
|
|
@ -175,13 +175,7 @@
|
|||
AT91_MATRIX_SCFG_SLOT_CYCLE(255))
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_PLLB
|
||||
#define CONFIG_USB_OHCI_NEW 1
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT 1
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00a00000 /* AT91SAM9263_UHP_BASE */
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9263"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"partition=nand0,0\0" \
|
||||
|
|
|
@ -19,9 +19,6 @@
|
|||
#define CONFIG_SYS_SDRAM_BASE 0x60000000
|
||||
#define SDRAM_MAX_SIZE 0x80000000
|
||||
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
|
||||
/* usb mass storage */
|
||||
|
||||
#define ENV_MEM_LAYOUT_SETTINGS \
|
||||
|
|
|
@ -30,8 +30,4 @@
|
|||
"partitions=" PARTS_DEFAULT \
|
||||
BOOTENV
|
||||
|
||||
/* rockchip ohci host driver */
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
|
||||
#endif
|
||||
|
|
|
@ -14,7 +14,4 @@
|
|||
#include <configs/rk3399_common.h>
|
||||
|
||||
#define SDRAM_BANK_SIZE (2UL << 30)
|
||||
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#endif
|
||||
|
|
|
@ -14,7 +14,4 @@
|
|||
#include <configs/rk3399_common.h>
|
||||
|
||||
#define SDRAM_BANK_SIZE (2UL << 30)
|
||||
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#endif
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
#define CONFIG_SYS_SDRAM_BASE 0x60000000
|
||||
|
||||
/* rockchip ohci host driver */
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
|
||||
|
||||
#define ENV_MEM_LAYOUT_SETTINGS \
|
||||
"scriptaddr=0x60000000\0" \
|
||||
|
|
|
@ -39,13 +39,7 @@
|
|||
|
||||
/* USB */
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_UPLL
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00600000
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "SAMA5D3 Xplained"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
#endif
|
||||
|
||||
/* SPL */
|
||||
|
|
|
@ -52,12 +52,7 @@
|
|||
|
||||
/* USB */
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_UPLL
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_BASE_OHCI
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "sama5d3"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3
|
||||
#endif
|
||||
|
||||
/* SPL */
|
||||
|
|
|
@ -67,13 +67,7 @@
|
|||
#define CONFIG_USART_ID ATMEL_ID_SYS
|
||||
|
||||
/* USB configuration */
|
||||
#define CONFIG_USB_ATMEL
|
||||
#define CONFIG_USB_ATMEL_CLK_SEL_PLLB
|
||||
#define CONFIG_USB_OHCI_NEW
|
||||
#define CONFIG_SYS_USB_OHCI_CPU_INIT
|
||||
#define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_UHP_BASE
|
||||
#define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91sam9260"
|
||||
#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
|
||||
|
||||
/* USB DFU support */
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue