From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] xscale: add support for the polaris board
Date: Mon, 29 Jun 2009 23:09:37 +0200 [thread overview]
Message-ID: <20090629210937.GD23292@game.jcrosoft.org> (raw)
In-Reply-To: <4A4866A5.9070303@babic.homelinux.org>
On 09:00 Mon 29 Jun , stefano babic wrote:
> Jean-Christophe PLAGNIOL-VILLARD wrote:
> >> MAINTAINERS | 4 ++++
> > please add it in the MAKEALL
>
> Right. I will fix it.
>
> >> -void usb_board_init(void)
> >> +int usb_board_init(void)
> >> {
> >> UHCHR = (UHCHR | UHCHR_PCPL | UHCHR_PSPL) &
> >> ~(UHCHR_SSEP0 | UHCHR_SSEP1 | UHCHR_SSEP2 | UHCHR_SSE);
> >> @@ -71,6 +76,8 @@ void usb_board_init(void)
> >>
> >> /* Set port power control mask bits, only 3 ports. */
> >> UHCRHDB |= (0x7<<17);
> >> +
> >> + return 0;
> >> }
> > why?
>
> The usb_board_init() prototype was changed sometimes ago and now the
> return value is checked (it was not when the trizeps module was added to
> u-boot). So now the usb initialization can fail (and it does..).
>
> To be honest, this fix is not related to this patch, but because it is
> a small change I inserted here. Should be enough if I add a comment
> about it in the git commit or do you think it is required to pull it
> apart in an another patch ?
please
>
> >> #define CONFIG_BOOTDELAY 3
> >> -#define CONFIG_SERVERIP 192.168.1.99
> > not related to this patch
>
> You are right, I will drop this change here and I will send another
> patch to clean up these parameters (and CONFIG_EXTRA_ENV_SETTINGS, too).
>
> >>
> >> -#define CONFIG_NET_MULTI 1
> >> +#define CONFIG_NET_MULTI 0
> > ???
>
> There is only one ethernet controller available and for this reason I
> cleared the NET_MULTI flag. However, I see other boards use another
> approach and leave this flag set. I can let the same approach here.
IIRC we you check the ifdef only not the value
Best Regards,
J.
next prev parent reply other threads:[~2009-06-29 21:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 8:45 [U-Boot] [PATCH] xscale: add support for the polaris board Stefano Babic
2009-06-27 5:53 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-29 7:00 ` stefano babic
2009-06-29 21:09 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-06-29 22:58 ` Ben Warren
2009-06-30 9:29 ` Stefano Babic
-- strict thread matches above, loose matches on Subject: below --
2009-06-30 9:31 Stefano Babic
2009-06-30 19:03 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-01 6:33 [U-Boot] [PATCH] xscale: fix USB initialization for Trizepsiv module Stefano Babic
2009-07-01 6:34 ` [U-Boot] [PATCH] xscale: add support for the polaris board Stefano Babic
2009-07-01 20:35 ` Jean-Christophe PLAGNIOL-VILLARD
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=20090629210937.GD23292@game.jcrosoft.org \
--to=plagnioj@jcrosoft.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