]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_USB_OHCI_NEW et al to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 25 Jun 2022 15:02:31 +0000 (11:02 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 7 Jul 2022 13:29:08 +0000 (09:29 -0400)
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>
107 files changed:
arch/arm/include/asm/arch-lpc32xx/config.h
configs/at91sam9260ek_dataflash_cs0_defconfig
configs/at91sam9260ek_dataflash_cs1_defconfig
configs/at91sam9260ek_nandflash_defconfig
configs/at91sam9261ek_dataflash_cs0_defconfig
configs/at91sam9261ek_dataflash_cs3_defconfig
configs/at91sam9261ek_nandflash_defconfig
configs/at91sam9263ek_dataflash_cs0_defconfig
configs/at91sam9263ek_dataflash_defconfig
configs/at91sam9263ek_nandflash_defconfig
configs/at91sam9263ek_norflash_boot_defconfig
configs/at91sam9263ek_norflash_defconfig
configs/at91sam9g10ek_dataflash_cs0_defconfig
configs/at91sam9g10ek_dataflash_cs3_defconfig
configs/at91sam9g10ek_nandflash_defconfig
configs/at91sam9g20ek_2mmc_defconfig
configs/at91sam9g20ek_2mmc_nandflash_defconfig
configs/at91sam9g20ek_dataflash_cs0_defconfig
configs/at91sam9g20ek_dataflash_cs1_defconfig
configs/at91sam9g20ek_nandflash_defconfig
configs/at91sam9xeek_dataflash_cs0_defconfig
configs/at91sam9xeek_dataflash_cs1_defconfig
configs/at91sam9xeek_nandflash_defconfig
configs/axs103_defconfig
configs/chromebook_bob_defconfig
configs/chromebook_kevin_defconfig
configs/comtrend_ar5315u_ram_defconfig
configs/comtrend_ar5387un_ram_defconfig
configs/comtrend_ct5361_ram_defconfig
configs/comtrend_vr3032u_ram_defconfig
configs/comtrend_wap5813n_ram_defconfig
configs/da850evm_defconfig
configs/da850evm_direct_nor_defconfig
configs/da850evm_nand_defconfig
configs/devkit3250_defconfig
configs/elgin-rv1108_defconfig
configs/evb-rk3128_defconfig
configs/evb-rk3328_defconfig
configs/evb-rv1108_defconfig
configs/hsdk_4xd_defconfig
configs/hsdk_defconfig
configs/huawei_hg556a_ram_defconfig
configs/khadas-edge-captain-rk3399_defconfig
configs/khadas-edge-rk3399_defconfig
configs/khadas-edge-v-rk3399_defconfig
configs/nanopi-r2s-rk3328_defconfig
configs/netgear_dgnd3700v2_ram_defconfig
configs/omapl138_lcdk_defconfig
configs/pinebook-pro-rk3399_defconfig
configs/pm9261_defconfig
configs/pm9263_defconfig
configs/roc-cc-rk3328_defconfig
configs/rock-pi-e-rk3328_defconfig
configs/rock64-rk3328_defconfig
configs/rock960-rk3399_defconfig
configs/rockpro64-rk3399_defconfig
configs/sama5d3_xplained_mmc_defconfig
configs/sama5d3_xplained_nandflash_defconfig
configs/sfr_nb4-ser_ram_defconfig
configs/smartweb_defconfig
configs/socrates_defconfig
configs/stih410-b2260_defconfig
configs/taurus_defconfig
configs/vexpress_aemv8a_juno_defconfig
drivers/usb/host/Kconfig
drivers/usb/host/ohci-at91.c
drivers/usb/host/ohci-generic.c
drivers/usb/host/ohci.h
include/configs/at91sam9260ek.h
include/configs/at91sam9261ek.h
include/configs/at91sam9263ek.h
include/configs/at91sam9n12ek.h
include/configs/at91sam9x5ek.h
include/configs/axs10x.h
include/configs/bmips_bcm6318.h
include/configs/bmips_bcm63268.h
include/configs/bmips_bcm6328.h
include/configs/bmips_bcm6348.h
include/configs/bmips_bcm6358.h
include/configs/bmips_bcm6362.h
include/configs/bmips_bcm6368.h
include/configs/da850evm.h
include/configs/devkit3250.h
include/configs/ethernut5.h
include/configs/evb_rk3399.h
include/configs/gru.h
include/configs/hsdk-4xd.h
include/configs/hsdk.h
include/configs/omapl138_lcdk.h
include/configs/pinebook-pro-rk3399.h
include/configs/pm9261.h
include/configs/pm9263.h
include/configs/rk3128_common.h
include/configs/rk3328_common.h
include/configs/rock960_rk3399.h
include/configs/rockpro64_rk3399.h
include/configs/rv1108_common.h
include/configs/sama5d3_xplained.h
include/configs/sama5d3xek.h
include/configs/smartweb.h
include/configs/snapper9260.h
include/configs/socrates.h
include/configs/stih410-b2260.h
include/configs/sunxi-common.h
include/configs/taurus.h
include/configs/usb_a9263.h
include/configs/vexpress_aemv8.h

index 653792c610cb7420ac9d2f48a65aee51b0961f47..32d68cbeb81af0ca50c6a4cd2c3023a1531ef9a4 100644 (file)
 
 /* 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 */
index 9947d1d4c670fc1ced03a22e1df845afc2e2a922..62b467ea30970e22ab44468a7ffb25b3180f333c 100644 (file)
@@ -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
index 8e54f1b133585f44f49d3a8e9e84c3bfbd24b53c..a5ccce1eae256379d05f45868f134ba97d14bfdb 100644 (file)
@@ -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
index 1badceeb2c1faba6924285c845319184d30cbf98..d3706d158b7d386a4e62d6b32a0d2e3eba3e0c85 100644 (file)
@@ -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
index 8b2f27a406eab4def1efb09b863cb293fee88298..d479d76c79ec23a68e55388ccd95e4d4f9a15ed6 100644 (file)
@@ -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
index e5350cfd6fe65ecacef0ce0cfe4e393f394484b8..96c44e9a16286a60594b645b85451a729ebd5b35 100644 (file)
@@ -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
index 3557c4e57a67e1b20f68b7dd6e210b8cef9db292..16de5195119122e07634be7da5e084b17d15d2fc 100644 (file)
@@ -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
index aa69b0f97a07d638e46b6c2b750eb1570bbfbe12..e73ff8861bed8a60aabd7bfccc0eb3975fe6fd2a 100644 (file)
@@ -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
index aa69b0f97a07d638e46b6c2b750eb1570bbfbe12..e73ff8861bed8a60aabd7bfccc0eb3975fe6fd2a 100644 (file)
@@ -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
index f88ea5cc3dc3df1b794abdb7e41548d54316440d..184431640e66750c8dc19429cf9c800df2bb93e9 100644 (file)
@@ -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
index b93eeaa2143c25bde9fd06a09cf303e1e57670bd..7b975813928c11e6db84516cbd3ef80e2ef63ceb 100644 (file)
@@ -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
index eb2e13ccc09fa44815e7e5f3e7528b4303a71c17..2c354f3b5b513216ff06ed996adf1a66f92f03a2 100644 (file)
@@ -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
index 818e630ea2c52f8317a868e469b5153875124503..ee4de9b67d67e3a5505ab20a5c4d97fb41b3747d 100644 (file)
@@ -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
index 118d778d4cfad82a147c60e97d8eefe054c81e56..4a47ad128655045db4896dbbde5ca3e28cd39adc 100644 (file)
@@ -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
index bf667606a2a9b9c7a99a31af9cea1214d8504957..0e3d0b13140ccb5afca12dea48c4227c4bf48749 100644 (file)
@@ -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
index d175575f79172480ee2f3e5fdd26a29e5255a6a1..add019c10afd788dc69f87bf467f4795525c202f 100644 (file)
@@ -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
index 2ea5bbd034077e2a3fa9feddf9e59c2580a118de..72a21c3da94d95f3001e587908964d474332a5a8 100644 (file)
@@ -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
index 304ee157bb7ab9594683ed7843f25762c4f81b6d..03b029cee8d9fb10b341f5fb3357af825067d7ae 100644 (file)
@@ -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
index a93ae955a57b4f211ee96a4e048153a2b3c8b042..1ae1b28feefdaa32263ed51bdf6b3a7fa6de6c5f 100644 (file)
@@ -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
index 4c51e7a3355a10e70a6304b45bb2195b24a5584f..77ad4b9fda2d60ca5d79a41996a71615014168eb 100644 (file)
@@ -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
index 9947d1d4c670fc1ced03a22e1df845afc2e2a922..62b467ea30970e22ab44468a7ffb25b3180f333c 100644 (file)
@@ -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
index 8e54f1b133585f44f49d3a8e9e84c3bfbd24b53c..a5ccce1eae256379d05f45868f134ba97d14bfdb 100644 (file)
@@ -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
index 1badceeb2c1faba6924285c845319184d30cbf98..d3706d158b7d386a4e62d6b32a0d2e3eba3e0c85 100644 (file)
@@ -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
index 64407655767f21c08adfba7d1d1cb96ed1abd3bb..0d1764958224b33d6ae23a9fd375f35ebd587e20 100644 (file)
@@ -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
index 84fe5be19d567818c2995180634443c0db78df5e..938bc28a1d278533d8297e1ae02404229b5f656f 100644 (file)
@@ -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
index 669d6f570b9e7d7179c4be0f17b7db620a1943fd..6f88002f968c9d2f120055c45520a9c3bf1fffc1 100644 (file)
@@ -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
index 170b766089d02015d0fc529c0bdfc56e460dc8b2..36eab571eafe76648685b22971d8a350232ffbed 100644 (file)
@@ -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
index 599fda481aa8cff2a1f9f9d6bdd7838cd30410ce..68969c041386aaffe27849eba2e621c77cd6e164 100644 (file)
@@ -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
index b1ad57b5a56cc54b496585519c3f8995525b0948..cb2caf454350b0adbb7828fc7b852c3ffcf57b76 100644 (file)
@@ -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
index d07895de9b82bb287007d783b4639908c6647faf..138d3c84bac7c1a8eb30b63f06c38c41004127ea 100644 (file)
@@ -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
index ca370e66a346380ad9add17951900f7644c04f5d..b7174ff5ee34850fa85ea7a87249a31ff904c275 100644 (file)
@@ -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
index de2d709a7a224c8532ceb47676b43633ba4f911e..d7348298587f27dfef2a0331a7a040acce3c95b0 100644 (file)
@@ -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
index 88ef772d9d50eb19f5cf289e63386db1c895947c..8f6b8b9702f41fd1c4a559c890ed67a22afcf8ae 100644 (file)
@@ -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
index 052ef3070334e73444ea00c98282acd381214d77..95b41ef32b1480e2cdc8343152e41952a31595cb 100644 (file)
@@ -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
index a0b7a2e2d36cade2328a4af16a6ac2a530a2647a..eae073d76ea6d6e6a0c4aa13d8e4559b42872fed 100644 (file)
@@ -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
index 2f595be1c24a38724962d3db2c4d40e40117573e..263fe3b7c8d18dcf1eb09c2fad04916e4f91d709 100644 (file)
@@ -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
index e0fb3f62b45c5d480b9053c288a86c39a9140399..ac38d5e78852613a4d5d88ac170f1a9000d7aa73 100644 (file)
@@ -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
index 4d6d235cb125c25147038a045a85bb091f449df3..c81437300c740d9c5f3cb9700bb1cdc362f3e927 100644 (file)
@@ -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
index dbca68fcf3004a111690bbcf4418a901a0f71d14..65b76c6b36d401d37477b8fdb8296378507bf88b 100644 (file)
@@ -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
index 85844f7ec882982dcc6f1431b0c7c4d48ed219e0..1d78c17d13b0a9408665deb106279283f0714f48 100644 (file)
@@ -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
index a714d28134bf6d512a0b2a5d3d6cba03bf75d0fa..f9823af34d4d81e13602800a097359b4c0ec6739 100644 (file)
@@ -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
index 1c43ae262d8143a4ca51b775793ea638e3688c03..2b5a58714102eb341e644ab5ec292ace35c17b5f 100644 (file)
@@ -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
index e9618e3e207ad0d9a54d32d3573b76609028f275..9a0171e4a8a4e15a5643d3192b22fb4b4f19aca2 100644 (file)
@@ -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
index 252a02b579e1e0652b49b8b3b55303f005535fa9..27f119931fb40f377537a5c7a93e2de8f86f973d 100644 (file)
@@ -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
index 731fbfcab2648efd1ec3145a72792fe07b28679c..de2b625120aa1398bb60dc2bbaed9d61757d33f0 100644 (file)
@@ -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
index 41793ca7e4865374d838980b4ece95aefc609058..15c2e1698c204ee46f8b5f7dd173deecce7dd112 100644 (file)
@@ -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
index bbfa9e13fa3cf52f1c800b784eb8f0116b96d990..73de5ed15b15ce8731b22aaafd03f16836ca1bbb 100644 (file)
@@ -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
index b45f6d8564e91a636870c5f1ae7fc0ec4736f0ed..28f4f95c95bd2e532d8cdac769ffc4624645d879 100644 (file)
@@ -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
index 121182c55d7495937a281afdceeedf367487be30..af473f9136725fb4ed9cfb8c85c5ec9e3e1ab560 100644 (file)
@@ -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
index c22076250bc7761dd248d9c728d72badf97f2abe..6922380b0093ac1fd9c101a977a2d52e50d285cb 100644 (file)
@@ -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
index 1406e7f1aa4d97107c3f5d7aa8db087364633931..2b4a844d804b5a0ee527aac40d42d992969d9eeb 100644 (file)
@@ -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
index ab25abc1a031237462e2a6d9e2b0dabffbb5cc80..43b90c7879b7a8f5d046452779fbe8eb6497578a 100644 (file)
@@ -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
index 1d51a267b93ab7af7c3bcdc7b0478bb5c9973543..7d95e171f7f4d6245a22008b90c977f3e2e9b660 100644 (file)
@@ -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
index 640fe558d414781b2e29f408b53c316c612e7803..bc333a5e2a6a1c89a355a32730328bf135e687f4 100644 (file)
@@ -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
index 78e50dbfbcb7c7fccdda25dec951b3417f0b4b84..bb5b2143691dee4ff9f45c9be0770963b970fc33 100644 (file)
@@ -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
index 4d2a5b32e31c005e2e7913ae411e76509cf03813..ef28fe6a937afe9ad6c68b6e4ea6c6bc949a23ad 100644 (file)
@@ -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
index 8483260512396dd504e3810da868d57998ee52fc..486e2190b2b332344669204dd698fecfe328ee78 100644 (file)
@@ -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
index f12c5d791724dac76218b55b5a701623b018bfda..184ff5ff724891a2ffd4ca8f12bdac6c61a6f45e 100644 (file)
@@ -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
index 6f261882faae56f4f3de6c99935ec2d9c959e112..df008b797f869af3aaf2b74c951d965e7317544a 100644 (file)
@@ -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
index 4e05f71bf3afcf17d93629429dfec911d8da29a2..84337e49e6c9625f1f425ab3a018a66c3c67fa54 100644 (file)
@@ -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
index 28ea447ec55f3d5a7598132cdc73e1a3c36cc642..621573653785b11c4ef058b061272986ef21a728 100644 (file)
@@ -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
index 198a0c7f9e5f3c39fde3ad73de0ecb0c3fba471e..cb8c73afd4746789cacf59657a658b18e75537ff 100644 (file)
@@ -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
index cf538d0f5f5f13c570be52ed2f8414be31a1d0c2..3d61c7b57b59ba5d79650b71b25624889d869ae5 100644 (file)
@@ -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
index ba8883dced550f4e0f109ff62addebf943187341..792bcf1eb5d44f33f687ee94e16068968bf77812 100644 (file)
@@ -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
index 0b82c2fdaf719fafa44ab40039b09ac9c753126e..31ae9f74e7ace90c6c5c831c244f23421d235f53 100644 (file)
@@ -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 || \
index 8ceabaf45c1b98501789b1039d03e8a937072b89..9b955c1bd678eb70475b0a4002ed8457b1ec462a 100644 (file)
@@ -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) */
index 163f0ef17b118f9d12587657f9a57c12dee7f2c5..5d23058aaf6acdc65aa703cd1e7ddc2251d4ac58 100644 (file)
 #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 */
index a38cd25eb85fc0d24a13b07a58aeaac13232ce16..7699f2e6b15aeb8c67005c7a347aff8a5ce27276 100644 (file)
@@ -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
 
 /*
index 2c4f229d3476ac544e918f5728d82ab325f093dc..ef9335c523f48586e0b6d5f35326f3be51f6b69e 100644 (file)
 #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
index 563fff531d11fe0855658e7beb74a21cb795ddc5..12726c10bd6d5725eb1ba76e7fb13381f094d65e 100644 (file)
 #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
index c100a411b2dcf39f16811161014979e61c72df7d..9497f055035dea942c5548b61c4526a53c8b8ad3 100644 (file)
 #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
index 29affe7b5cd6b7f6b5f8debf60d7d15f0f15b90e..4fac0aad42c519d73ab3a06bd194a3b7537fa48d 100644 (file)
 
 /* 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 */
index 6857f2e3c4a2589c6bdcf840c41a19cd5ff93bd5..758a91cdaa97f3b61cf0834bd9ccfb5d20b6d15c 100644 (file)
 /* 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
 
index 7e25846e401d581d387f8858817e4111a013a9d4..3e98ce09c7203c5d2e6c6ad9c9d4bf1c6de8a600 100644 (file)
@@ -39,8 +39,6 @@
 /*
  * USB 1.1 configuration
  */
-#define CONFIG_USB_OHCI_NEW
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
 
 /*
  * Environment settings
index ad7781bd3a2713b3de2e7116c6ab4a7577b4bf83..55c1d439d58bfd317224057e5a12a69d746eacd6 100644 (file)
 /* 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)
index 0901f6e88ac43f2f4c5b850e0be18568fe5e9922..f046b7e6622f697afb377479cc2b1c09d7441a8a 100644 (file)
 /* 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)
index 3f45f1f2550f31afdc4058908fc0eb7238098a10..7e488072edc0b1302a5aaf1a665fcd4ee2e97e08 100644 (file)
 /* 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)
index af1c3673fbb9bda8a54326e9d7f9499b63591503..f704fe26ca0dd18bea83f579b7a3fe38509da61e 100644 (file)
 /* 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)
index c15218fc9cb5de4c2c839a46a2fa9412779031e4..9aaa694cad916401213126932a7f5691ee8721fb 100644 (file)
 /* 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)
index 0c94b2c5254390c87321bf572f820e1d660551b7..34e542544cb890e947a7892fb3becb3c9f38ac83 100644 (file)
 /* 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)
index 6486b7e6110704bbb4fbc23dd720a8eef344d166..0319124a0eddb05f255298df9ca0ec528fcd2654 100644 (file)
 /* 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)
index 1f6ac8d28adf52ea7cae38ba0c99c1e0247d223e..3db97205dab8711ad4f0307139d3e2d708d38eec 100644 (file)
        "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 */
 
index e101d1f600486d77159cd98fb0da87c6c8a20d76..328e4958f86a2c991dce570d4c68a8fe3ea49937 100644 (file)
@@ -55,7 +55,6 @@
 /*
  * USB
  */
-#define CONFIG_USB_OHCI_LPC32XX
 #define CONFIG_USB_ISP1301_I2C_ADDR            0x2d
 
 /*
index 2126731ccfc90c2724e0ebc9414194fe709f0103..529b9837318f57e24b575b313e55177198f3d7bc 100644 (file)
 
 /* 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 */
index 492b7b4df1281f0ed99c6c6e9cc3d689f5c558cc..b7e850370b3193ef35a2026884506bad5ad00d5c 100644 (file)
@@ -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
index b1084bb21d4da8f8afa8222c325b9f1d30a12fed..be2dc79968c042bf085da782e39cb8c51417dfc3 100644 (file)
@@ -13,7 +13,4 @@
 
 #include <configs/rk3399_common.h>
 
-#define CONFIG_USB_OHCI_NEW
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     2
-
 #endif
index 7785bab7147b6dd988a05574fe450f8635425201..03ca9281c8291c30c59728fd231b611eb20a2fbb 100644 (file)
  * Ethernet PHY configuration
  */
 
-/*
- * USB 1.1 configuration
- */
-#define CONFIG_USB_OHCI_NEW
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
-
 /*
  * Environment settings
  */
index 6dd69ca38b42790cbba541153f73ba40358ca1ac..0b8ac78e2794fb8a61039eb10c3e45a1ea34700a 100644 (file)
  * Ethernet PHY configuration
  */
 
-/*
- * USB 1.1 configuration
- */
-#define CONFIG_USB_OHCI_NEW
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
-
 /*
  * Environment settings
  */
index a344a46a3e66e15d5afe212e460401d4c23d5f7c..c9f5004117f20b90fcff7dc7ee96798974a29727 100644 (file)
  * U-Boot general configuration
  */
 
-/*
- * USB Configs
- */
-#define CONFIG_USB_OHCI_NEW
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     15
-
 /*
  * Linux Information
  */
index d478b19917dfbda956f980f46d9c0c2841305977..241dc39be00846b894923990491830e373c045aa 100644 (file)
@@ -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
index bc15cdb44602033efb700211919dc784c0cbfebc..7374514698f9ebe1a8c29633a99f34891633608e 100644 (file)
 #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"                                   \
index a0eed66b5ff1acc5287c9673c2b0539ffe38df1d..7a6d817926c7450997ab6eefcf8627a56af7f211 100644 (file)
                                         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"                                   \
index f3e0eefb9a21452c356ff39d728f17fb55783a7b..d5a4ca26b0487b3baff836507b525c64883d80af 100644 (file)
@@ -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 \
index 90183579202de7d6264066ee6d12dc6f22294597..165b78ff33095557688a8a49f6f59a06ec861121 100644 (file)
@@ -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
index 2edad710284f46458ab9a9c3b2a339b8d0d6e415..6099d2fa55a69edb4f8146c7af89017401c9b98f 100644 (file)
@@ -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
index 903e9df527c1fc777af9eecd9b5d8cfb0710913d..9195b9b99e41299eda0e45c46dbfb78c7dbf3aef 100644 (file)
@@ -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
index d8de9c25df2b10e4d9a6759df78512792b367314..83c3167f38dcd7a3ab64edd401f347adf99dde72 100644 (file)
@@ -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" \
index a10057452fe4d86a344e96263f0b3f739a2b5c96..22839d544a504e311392ec052abd2da7bdef1bca 100644 (file)
 
 /* 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 */
index f61b6e0dabc7d2315ba881e6dab29ee4e3a7647e..dc89148a0450529e34d7432ec3152f77e1a41e9e 100644 (file)
 
 /* 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 */
index 215c31bca410804c8c22c9ba074f4a7780454034..65bc3c672eedef7513e16b818a064a8c1034d6d1 100644 (file)
 #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 */
 
index 6ff21b921687cccf9d98e90baa466a2cac25a485..2b7afb5d25e556fa2d145870f68d6ea3cb7df282 100644 (file)
 #define CONFIG_SYS_NAND_READY_PIN      AT91_PIN_PC13
 
 /* 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_UHP_BASE
-#define CONFIG_SYS_USB_OHCI_SLOT_NAME  "at91sam9260"
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     2
 
 /* GPIOs and IO expander */
 #define CONFIG_PCA953X
index 6a78cb1f2648fa942d9dfb84f3a41ba85af28030..db28268132614c87cf43ea7b4be9ca0137613208 100644 (file)
 /* pass open firmware flat tree */
 
 /* USB support */
-#define CONFIG_USB_OHCI_NEW            1
 #define CONFIG_PCI_OHCI                        1
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     15
-#define CONFIG_SYS_USB_OHCI_SLOT_NAME          "ohci_pci"
-#define CONFIG_SYS_OHCI_SWAP_REG_ACCESS        1
 
 #endif /* __CONFIG_H */
index a425dad6921473cf89b45b65f7ed4c7b2043f6dd..1b8d38f4b52a75a1d695b181af145ca8c0dd3e48 100644 (file)
@@ -43,8 +43,6 @@
 /* Extra Commands */
 
 /* USB Configs */
-#define CONFIG_USB_OHCI_NEW
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     2
 
 /* NET Configs */
 
index d52552c5fe76abb62bf77331a46a28045e46d6e5..2bf4e58cddf731682c8d750b22327db0bed1293d 100644 (file)
 
 /* Ethernet support */
 
-#ifdef CONFIG_USB_EHCI_HCD
-#define CONFIG_USB_OHCI_NEW
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
-#endif
-
 #ifdef CONFIG_ARM64
 /*
  * Boards seem to come with at least 512MB of DRAM.
index 798d72d8e26bfef590fb60f553d64bcbd2b96d87..ab2dc3d7146b46147c1a0a921a5b7a4ecff99816 100644 (file)
 
 /* USB */
 #if defined(CONFIG_BOARD_TAURUS)
-#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          "at91sam9260"
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     2
 
 /* USB DFU support */
 
index e432b04e9f5a0cf866b381470a551c34454986b9..8cb8c609d052b80eada43bdce40db11dd28271f1 100644 (file)
 
 /* USB */
 #ifdef CONFIG_CMD_USB
-#define CONFIG_USB_ATMEL
-#define CONFIG_USB_OHCI_NEW
-#define CONFIG_SYS_USB_OHCI_CPU_INIT
 #define CONFIG_SYS_USB_OHCI_REGS_BASE          0x00a00000
-#define CONFIG_SYS_USB_OHCI_SLOT_NAME          "at91sam9263"
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     2
 #endif
 
 /* bootstrap + u-boot + env + linux in dataflash on CS0 */
index 14b92c095a0d966c84fbca0eb5419b04cc906b59..e864b3fee6ae2d57c9cc2b6c6de15f8a9bf51989 100644 (file)
 /* Store environment at top of flash */
 #endif
 
-#ifdef CONFIG_USB_EHCI_HCD
-#define CONFIG_USB_OHCI_NEW
-#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
-#endif
-
 #define CONFIG_SYS_FLASH_EMPTY_INFO    /* flinfo indicates empty blocks */
 #define FLASH_MAX_SECTOR_SIZE          0x00040000