summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDerald D. Woods <woods.technical@gmail.com>2019-05-27 21:20:50 -0500
committerTom Rini <trini@konsulko.com>2019-07-13 11:11:27 -0400
commite74e9f620a6e413cca2649b2d5e3f483187735c5 (patch)
tree7d09d5b75df93c1dd41923d49cde86c4d73f0e57 /board
parent5579e73c8cc516572b3f3e224f45836f74c37360 (diff)
downloadu-boot-e74e9f620a6e413cca2649b2d5e3f483187735c5.tar.gz
u-boot-e74e9f620a6e413cca2649b2d5e3f483187735c5.tar.bz2
u-boot-e74e9f620a6e413cca2649b2d5e3f483187735c5.zip
ARM: omap3: evm: Enable DM_USB in defconfig
This addresses the following warning message: ===================== WARNING ====================== This board does not use CONFIG_DM_USB. Please update the board to use CONFIG_DM_USB before the v2019.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== As USB support for older OMAP3 SoC's improves, OMAP3 EVM can be readily adapted. There is some additional 'gpio-hog' support needed to fully setup USB in a similar manner to Linux. Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
Diffstat (limited to 'board')
-rw-r--r--board/ti/evm/evm.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c
index daecb4af3e..93408047b2 100644
--- a/board/ti/evm/evm.c
+++ b/board/ti/evm/evm.c
@@ -30,11 +30,6 @@
#include <linux/usb/musb.h>
#include "evm.h"
-#ifdef CONFIG_USB_EHCI_HCD
-#include <usb.h>
-#include <asm/ehci-omap.h>
-#endif
-
#define OMAP3EVM_GPIO_ETH_RST_GEN1 64
#define OMAP3EVM_GPIO_ETH_RST_GEN2 7
@@ -307,32 +302,6 @@ void board_mmc_power_init(void)
}
#endif /* CONFIG_MMC */
-#if defined(CONFIG_USB_EHCI_HCD) && !defined(CONFIG_SPL_BUILD)
-/* Call usb_stop() before starting the kernel */
-void show_boot_progress(int val)
-{
- if (val == BOOTSTAGE_ID_RUN_OS)
- usb_stop();
-}
-
-static struct omap_usbhs_board_data usbhs_bdata = {
- .port_mode[0] = OMAP_USBHS_PORT_MODE_UNUSED,
- .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY,
- .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED
-};
-
-int ehci_hcd_init(int index, enum usb_init_type init,
- struct ehci_hccr **hccr, struct ehci_hcor **hcor)
-{
- return omap_ehci_hcd_init(index, &usbhs_bdata, hccr, hcor);
-}
-
-int ehci_hcd_stop(int index)
-{
- return omap_ehci_hcd_stop();
-}
-#endif /* CONFIG_USB_EHCI_HCD */
-
#if defined(CONFIG_USB_ETHER) && defined(CONFIG_USB_MUSB_GADGET) && !defined(CONFIG_CMD_NET)
int board_eth_init(bd_t *bis)
{