summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorEvan Wilson <evan@oliodevices.com>2014-01-28 20:49:54 -0800
committerEvan Wilson <evan@oliodevices.com>2014-04-03 15:11:02 -0700
commitd8bf44a99bcae9b0365f2fc42447f82c2e776dbe (patch)
tree140392e20de6cbefe9db261f3e13aecd416c5eb1 /board
parent04b26d9ec2fd0c8e0009e8ee9df1600e6acd9587 (diff)
downloadolio-uboot-2014.01-d8bf44a99bcae9b0365f2fc42447f82c2e776dbe.tar.xz
olio-uboot-2014.01-d8bf44a99bcae9b0365f2fc42447f82c2e776dbe.zip
Removed USB and Ethernet support
Diffstat (limited to 'board')
-rw-r--r--board/olio/h1/h1.c73
1 files changed, 0 insertions, 73 deletions
diff --git a/board/olio/h1/h1.c b/board/olio/h1/h1.c
index e7ec2d975..e04aa817a 100644
--- a/board/olio/h1/h1.c
+++ b/board/olio/h1/h1.c
@@ -22,19 +22,10 @@
#include <asm/arch/sys_proto.h>
#include <asm/gpio.h>
#include <asm/mach-types.h>
-#include <asm/omap_musb.h>
#include <asm/errno.h>
-#include <linux/usb/ch9.h>
-#include <linux/usb/gadget.h>
-#include <linux/usb/musb.h>
#include "h1.h"
#include <command.h>
-#ifdef CONFIG_USB_EHCI
-#include <usb.h>
-#include <asm/ehci-omap.h>
-#endif
-
#define TWL4030_I2C_BUS 0
DECLARE_GLOBAL_DATA_PTR;
@@ -118,33 +109,6 @@ static void beagle_dvi_pup(void)
}
#endif
-#ifdef CONFIG_USB_MUSB_OMAP2PLUS
-static struct musb_hdrc_config musb_config = {
- .multipoint = 1,
- .dyn_fifo = 1,
- .num_eps = 16,
- .ram_bits = 12,
-};
-
-static struct omap_musb_board_data musb_board_data = {
- .interface_type = MUSB_INTERFACE_ULPI,
-};
-
-static struct musb_hdrc_platform_data musb_plat = {
-#if defined(CONFIG_MUSB_HOST)
- .mode = MUSB_HOST,
-#elif defined(CONFIG_MUSB_GADGET)
- .mode = MUSB_PERIPHERAL,
-#else
-#error "Please define either CONFIG_MUSB_HOST or CONFIG_MUSB_GADGET"
-#endif
- .config = &musb_config,
- .power = 100,
- .platform_ops = &omap2430_ops,
- .board_data = &musb_board_data,
-};
-#endif
-
/*
* Routine: misc_init_r
* Description: Configure board specific parts
@@ -189,10 +153,6 @@ int misc_init_r(void)
omap3_dss_enable();
#endif
-#ifdef CONFIG_USB_MUSB_OMAP2PLUS
- musb_register(&musb_plat, &musb_board_data, (void *)MUSB_BASE);
-#endif
-
return 0;
}
@@ -206,36 +166,3 @@ void set_muxconf_regs(void)
{
MUX_BEAGLE();
}
-
-#if defined(CONFIG_USB_EHCI) && !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_EHCI_PORT_MODE_PHY,
- .port_mode[1] = OMAP_EHCI_PORT_MODE_PHY,
- .port_mode[2] = OMAP_USBHS_PORT_MODE_UNUSED
-};
-
-int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor)
-{
- return omap_ehci_hcd_init(&usbhs_bdata, hccr, hcor);
-}
-
-int ehci_hcd_stop(int index)
-{
- return omap_ehci_hcd_stop();
-}
-
-#endif /* CONFIG_USB_EHCI */
-
-#if defined(CONFIG_USB_ETHER) && defined(CONFIG_MUSB_GADGET)
-int board_eth_init(bd_t *bis)
-{
- return usb_eth_initialize(bis);
-}
-#endif