summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-25 11:02:33 -0400
committerTom Rini <trini@konsulko.com>2022-07-07 09:29:08 -0400
commitac8b36938a74d87a272e730998d03fe15aa9f503 (patch)
tree3fefbe88ee142859a9c9523a7a370187a05abc99
parentdea25842ab72427fde250992da1d29c2fbc256f8 (diff)
downloadu-boot-ac8b36938a74d87a272e730998d03fe15aa9f503.tar.gz
u-boot-ac8b36938a74d87a272e730998d03fe15aa9f503.tar.bz2
u-boot-ac8b36938a74d87a272e730998d03fe15aa9f503.zip
usb: Remove some unused CONFIG settings
On platforms that use CONFIG_USB_OHCI_NEW we do not need to set CONFIG_SYS_USB_OHCI_REGS_BASE nor CONFIG_SYS_USB_OHCI_SLOT_NAME. Drop these from platforms that we can. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/configs/at91sam9n12ek.h5
-rw-r--r--include/configs/at91sam9x5ek.h7
-rw-r--r--include/configs/ethernut5.h5
-rw-r--r--include/configs/sama5d3_xplained.h5
-rw-r--r--include/configs/sama5d3xek.h5
-rw-r--r--include/configs/smartweb.h3
-rw-r--r--include/configs/snapper9260.h3
-rw-r--r--include/configs/taurus.h3
-rw-r--r--include/configs/usb_a9263.h5
9 files changed, 0 insertions, 41 deletions
diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h
index 4fac0aad42..4d492988eb 100644
--- a/include/configs/at91sam9n12ek.h
+++ b/include/configs/at91sam9n12ek.h
@@ -39,11 +39,6 @@
"bootargs_nand=rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rw\0"\
"bootargs_mmc=root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait\0"
-/* USB host */
-#ifdef CONFIG_CMD_USB
-#define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_BASE_OHCI
-#endif
-
/* SPL */
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
index 758a91cdaa..0e7665843d 100644
--- a/include/configs/at91sam9x5ek.h
+++ b/include/configs/at91sam9x5ek.h
@@ -38,13 +38,6 @@
#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PD5
#endif
-/* USB */
-#ifdef CONFIG_CMD_USB
-#ifndef CONFIG_USB_EHCI_HCD
-#define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_BASE_OHCI
-#endif
-#endif
-
/* SPL */
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index 529b983731..88a702f1af 100644
--- a/include/configs/ethernut5.h
+++ b/include/configs/ethernut5.h
@@ -59,11 +59,6 @@
#define CONFIG_SYS_MMC_CD_PIN AT91_PIO_PORTC, 8
#endif
-/* USB */
-#ifdef CONFIG_CMD_USB
-#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00500000
-#endif
-
/* RTC */
#if defined(CONFIG_CMD_DATE) || defined(CONFIG_CMD_SNTP)
#define CONFIG_SYS_I2C_RTC_ADDR 0x51
diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h
index 22839d544a..fad65cb112 100644
--- a/include/configs/sama5d3_xplained.h
+++ b/include/configs/sama5d3_xplained.h
@@ -37,11 +37,6 @@
#define CONFIG_SYS_NAND_MASK_CLE (1 << 22)
#endif
-/* USB */
-#ifdef CONFIG_CMD_USB
-#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00600000
-#endif
-
/* SPL */
/* size of u-boot.bin to load */
diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h
index dc89148a04..7bc3f91e77 100644
--- a/include/configs/sama5d3xek.h
+++ b/include/configs/sama5d3xek.h
@@ -50,11 +50,6 @@
#define CONFIG_SYS_NAND_MASK_CLE (1 << 22)
#endif
-/* USB */
-#ifdef CONFIG_CMD_USB
-#define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_BASE_OHCI
-#endif
-
/* SPL */
#define CONFIG_SYS_MONITOR_LEN (512 << 10)
diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
index 65bc3c672e..1a3ac817fb 100644
--- a/include/configs/smartweb.h
+++ b/include/configs/smartweb.h
@@ -66,9 +66,6 @@
#define CONFIG_USART_BASE ATMEL_BASE_DBGU
#define CONFIG_USART_ID ATMEL_ID_SYS
-/* USB configuration */
-#define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_UHP_BASE
-
/* USB DFU support */
#define CONFIG_USB_GADGET_AT91
diff --git a/include/configs/snapper9260.h b/include/configs/snapper9260.h
index 2b7afb5d25..7adb349f9a 100644
--- a/include/configs/snapper9260.h
+++ b/include/configs/snapper9260.h
@@ -37,9 +37,6 @@
#define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIN_PC14
#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PC13
-/* USB */
-#define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_UHP_BASE
-
/* GPIOs and IO expander */
#define CONFIG_PCA953X
#define CONFIG_SYS_I2C_PCA953X_ADDR 0x28
diff --git a/include/configs/taurus.h b/include/configs/taurus.h
index ab2dc3d714..4758e23f55 100644
--- a/include/configs/taurus.h
+++ b/include/configs/taurus.h
@@ -63,10 +63,7 @@
#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PC13
#endif
-/* USB */
#if defined(CONFIG_BOARD_TAURUS)
-#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00500000
-
/* USB DFU support */
#define CONFIG_USB_GADGET_AT91
diff --git a/include/configs/usb_a9263.h b/include/configs/usb_a9263.h
index 8cb8c609d0..e0dde1cc83 100644
--- a/include/configs/usb_a9263.h
+++ b/include/configs/usb_a9263.h
@@ -43,11 +43,6 @@
#define CONFIG_SYS_NAND_READY_PIN GPIO_PIN_PA(22)
#endif
-/* USB */
-#ifdef CONFIG_CMD_USB
-#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x00a00000
-#endif
-
/* bootstrap + u-boot + env + linux in dataflash on CS0 */
#define CONFIG_EXTRA_ENV_SETTINGS \