public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] USB on OMAP3
Date: Wed, 31 Aug 2011 09:28:41 -0600	[thread overview]
Message-ID: <4E5E5329.5030209@mlbassoc.com> (raw)

I'm using v2011.06 on the TI OMAP3 platform (internal, similar to BeagleBoard)

I'd like my board to support both EHCI and MUSB in host mode.
However, when I define both of these, I get compile errors:
drivers/usb/musb/libusb_musb.o: In function `usb_lowlevel_stop':
/local/DM3730/u-boot/drivers/usb/musb/musb_hcd.c:1149: multiple definition of `usb_lowlevel_stop'
drivers/usb/host/libusb_host.o:/local/DM3730/u-boot/drivers/usb/host/ehci-hcd.c:795: first defined here
drivers/usb/musb/libusb_musb.o: In function `submit_int_msg':
/local/DM3730/u-boot/drivers/usb/musb/musb_hcd.c:1162: multiple definition of `submit_int_msg'
drivers/usb/host/libusb_host.o:/local/DM3730/u-boot/drivers/usb/host/ehci-hcd.c:900: first defined here
drivers/usb/musb/libusb_musb.o: In function `submit_bulk_msg':
/local/DM3730/u-boot/drivers/usb/musb/musb_hcd.c:949: multiple definition of `submit_bulk_msg'
drivers/usb/host/libusb_host.o:/local/DM3730/u-boot/drivers/usb/host/ehci-hcd.c:865: first defined here
drivers/usb/musb/libusb_musb.o: In function `submit_control_msg':
/local/DM3730/u-boot/drivers/usb/musb/musb_hcd.c:849: multiple definition of `submit_control_msg'
drivers/usb/host/libusb_host.o:/local/DM3730/u-boot/drivers/usb/host/ehci-hcd.c:877: first defined here
drivers/usb/musb/libusb_musb.o: In function `usb_lowlevel_init':
/local/DM3730/u-boot/drivers/usb/musb/musb_hcd.c:1097: multiple definition of `usb_lowlevel_init'
drivers/usb/host/libusb_host.o:/local/DM3730/u-boot/drivers/usb/host/ehci-hcd.c:799: first defined here

Is this expected to work?  If not, any pointers on how I might make
both controllers play nice?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

             reply	other threads:[~2011-08-31 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-31 15:28 Gary Thomas [this message]
2011-08-31 16:37 ` [U-Boot] USB on OMAP3 John Rigby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E5E5329.5030209@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox