From: Lucas Stach <dev@lynxeye.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] usb: ehci: rework to take advantage of new lowlevel interface
Date: Thu, 30 Aug 2012 23:51:22 +0200 [thread overview]
Message-ID: <1346363482.2252.12.camel@tellur> (raw)
In-Reply-To: <201208302309.27159.marex@denx.de>
Am Donnerstag, den 30.08.2012, 23:09 +0200 schrieb Marek Vasut:
> Dear Lucas Stach,
>
> > Kill off ehci-core.h
> > It was used to specify some static controller data. To support more than
> > one controller being active at any time we have to carry the controller
> > data ourselfes. Change the ehci interface accordingly.
> >
> > NOTE: OMAP implemented the ehci stuff a bit backwards and should be fixed
> > to do the same thing as other platforms. But the change for now is at least
> > compile clean.
> >
> > Signed-off-by: Lucas Stach <dev@lynxeye.de>
> [...]
>
> The omap change could be separated out, no?
There is no logic change in OMAP up to now. I just had to add some
forward decls to make it work, which would not be needed if OMAP worked
like all the other platforms.
Actually fixing this would be far more invasive and I don't really want
to do this work, as I don't have a single OMAP board to test with.
> Also, I'd fix all these &(*something)->somethingelse if possible.
>
I just did it this way to minimize the churn this change is causing.
Removing this, arguably a bit ugly, pointer construct could possibly
introduce logic errors, that are not catchable by just compile testing
this. I would rather leave this to someone who actually cares about the
specific platform.
> Otherwise,
>
> Reviewed-by: Marek Vasut <marex@denx.de>
>
Thanks,
Lucas
next prev parent reply other threads:[~2012-08-30 21:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-30 16:03 [U-Boot] [PATCH 0/4] USB multi controller Lucas Stach
2012-08-30 16:03 ` [U-Boot] [PATCH 1/4] usb: lowlevel interface change to support multiple controllers Lucas Stach
2012-08-30 21:03 ` Marek Vasut
2012-08-30 16:03 ` [U-Boot] [PATCH 2/4] usb: ehci: rework to take advantage of new lowlevel interface Lucas Stach
2012-08-30 21:09 ` Marek Vasut
2012-08-30 21:51 ` Lucas Stach [this message]
2012-08-30 21:55 ` Marek Vasut
2012-08-30 16:03 ` [U-Boot] [PATCH 3/4] tegra20: port to new ehci interface Lucas Stach
2012-08-30 16:03 ` [U-Boot] [PATCH 4/4] usb: add support for multiple usb controllers Lucas Stach
2012-08-30 21:12 ` Marek Vasut
2012-09-04 23:05 ` [U-Boot] [PATCH 0/4] USB multi controller Stephen Warren
2012-09-05 0:30 ` Marek Vasut
2012-09-05 6:21 ` Lucas Stach
2012-09-05 6:30 ` Marek Vasut
2012-09-05 19:11 ` Stephen Warren
2012-09-05 19:27 ` Marek Vasut
2012-09-05 22:13 ` Lucas Stach
-- strict thread matches above, loose matches on Subject: below --
2012-09-25 22:14 Lucas Stach
2012-09-25 22:14 ` [U-Boot] [PATCH 2/4] usb: ehci: rework to take advantage of new lowlevel interface Lucas Stach
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=1346363482.2252.12.camel@tellur \
--to=dev@lynxeye.de \
--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