From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] AT91: Added support for taskit Stamp9G20 and PortuxG20
Date: Mon, 22 Feb 2010 14:06:41 +0100 [thread overview]
Message-ID: <20100222130641.CE623A87D18@gemini.denx.de> (raw)
In-Reply-To: <4B827909.3010804@taskit.de>
Dear Achim Ehrlich,
In message <4B827909.3010804@taskit.de> you wrote:
>
> >> +#ifdef CONFIG_RESET_PHY_R
> >> +void reset_phy(void)
> >> +{
> >> +#ifdef CONFIG_MACB
> >
> >
> > CONFIG_MACB seems to be an undocumented variable. What is it supposed
> > to do?
>
> It switches on the pin initialization for the Ethernet MAC.
> Actually, i just copied this part from the AT91SAM9260ek board code.
If you uuse it, please add a short note to the READMe, then.
But do you really need this? What would reset_phy() do if this
variable was not set?
> >> diff --git a/include/configs/stamp9G20.h b/include/configs/stamp9G20.h
> >> new file mode 100644
> >> index 0000000..5008554
> >> --- /dev/null
> >> +++ b/include/configs/stamp9G20.h
> > ...
> >> +/* ARM asynchronous clock */
> >> +#define AT91_MAIN_CLOCK 18432000 /* 18.432 MHz crystal */
> >
> > This should be changed into a CONFIG_SYS_ (globally).
> >
>
> Do you mean, I should change that for all AT91-Boards in u-boot?
Such a change would indeed make sense to me (it should be done
separately and indenpendent from your patch, probably before adding
your code).
> How or who is going to test that?
We can compare the binary images for all AT91 builds - except for the
time stamps they should be unaffected by this change. And we can
actually test the images on a few boards.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Use the Force, Luke.
next prev parent reply other threads:[~2010-02-22 13:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-17 16:10 [U-Boot] [PATCH] AT91: Added support for taskit Stamp9G20 and PortuxG20 Achim Ehrlich
2010-02-18 12:32 ` Wolfgang Denk
2010-02-22 12:31 ` Achim Ehrlich
2010-02-22 13:06 ` Wolfgang Denk [this message]
2010-02-18 12:42 ` Detlev Zundel
2010-02-22 12:35 ` Achim Ehrlich
2010-02-22 13:04 ` Detlev Zundel
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=20100222130641.CE623A87D18@gemini.denx.de \
--to=wd@denx.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