From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: U-Boot for AT91RM9200DK
Date: Fri, 24 Oct 2003 16:41:54 +0200 [thread overview]
Message-ID: <3F993A32.80709@imc-berlin.de> (raw)
In-Reply-To: <E1AD2xl-0000h1-00@c-67-164-61-95.client.comcast.net>
Rick,
>>>>Should we put all the init code into cpu/at91rm9200/{start.S} and use CONFIG_
>>>>and CFG_?
>>>
>>> I'd put it all in start.S and not define any CONFIG for it.
>>
>>Hmm. But my boards has a completly different clocking scheme!
>>For instance: I use an 16MHz external clock oszillator. The eval board has an
>>18,xxx MHz crystal...
>>So we need at least some CFG_'s for clock configuration.
>
> I have completely different crystals than the AT91RM9200DK. Do
> you want me to put my clock settings in u-boot? How about the 500
> different AT91RM9200 boards that get designed this year? Do you want
> their specific stuff in u-boot?
>
> By necessity u-boot is already nearing #ifdef hell because it
> supports so many devel boards (which is good). If we all threw
> our specific board design stuff in there, I don't think anyone in
> their right mind would use u-boot.
Probably a misunderstanding!
How I am supposed to setup clocks and PLLs and serial port in the AT91RM9200 if
I don't have any informations?
I thought of something like this in start.S:
#ifdef CFG_USE_EXT_CRYSTAL
enable_main_oscillator;
#endif
/* set up PLL */
set PLLA to CFG_PLLAR
set PLLB to CFG_PLLBR
...
And the user just has to define CFG_USE_EXT_CRYSTAL, CFG_PLLAR etc in his board
specific header file. Of course without the need to submit his configuration to
the U-Boot CVS.
Ok?
Steven
next prev parent reply other threads:[~2003-10-24 14:41 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-18 13:12 [U-Boot-Users] Maintainer of AT91RM9200DK??? Steven Scholz
2003-10-18 13:45 ` [U-Boot-Users] " Rick Bronson
[not found] ` <3F914731.1000207@imc-berlin.de>
[not found] ` <E1AAs6Y-0000eT-00@c-67-164-61-95.client.comcast.net>
[not found] ` <3F914F82.3060502@imc-berlin.de>
[not found] ` <E1AAsEW-0000fj-00@c-67-164-61-95.client.comcast.net>
2003-10-24 9:01 ` [U-Boot-Users] U-Boot for AT91RM9200DK Steven Scholz
2003-10-24 14:05 ` [U-Boot-Users] " Rick Bronson
2003-10-24 14:18 ` Steven Scholz
2003-10-24 14:30 ` Rick Bronson
2003-10-24 14:41 ` Steven Scholz [this message]
2003-10-24 15:40 ` Rick Bronson
2003-10-25 18:45 ` Wolfgang Denk
2003-10-25 18:52 ` Wolfgang Denk
2003-10-26 10:56 ` Steven Scholz
2003-10-26 12:17 ` Wolfgang Denk
2003-10-25 18:41 ` Wolfgang Denk
2003-10-27 7:15 ` Steven Scholz
2003-10-27 8:02 ` Wolfgang Denk
2003-10-27 8:25 ` Steven Scholz
2003-10-27 10:16 ` Wolfgang Denk
2003-10-27 11:23 ` Steven Scholz
2003-10-27 11:53 ` Wolfgang Denk
2003-10-27 14:58 ` Steven Scholz
2003-10-27 15:38 ` Rick Bronson
2003-10-27 16:21 ` Wolfgang Denk
2003-10-25 18:32 ` [U-Boot-Users] " Wolfgang Denk
2003-10-18 20:39 ` [U-Boot-Users] Maintainer of AT91RM9200DK??? Wolfgang Denk
2003-10-20 13:49 ` [U-Boot-Users] about arm7tdmi Joe
2003-10-20 15:10 ` Wolfgang Denk
2003-10-21 4:58 ` [U-Boot-Users] one by one problem " Joe
2003-10-21 9:25 ` Wolfgang Denk
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=3F993A32.80709@imc-berlin.de \
--to=steven.scholz@imc-berlin.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