From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] CPU (405ep) clock upgrade..
Date: Wed, 2 Jul 2008 11:38:04 +0200 [thread overview]
Message-ID: <200807021138.04449.sr@denx.de> (raw)
In-Reply-To: <486B491C.4090503@fiberlogic.com>
On Wednesday 02 July 2008, Yi-Neng Lin wrote:
> This arises another question. Assume that both configurations (CPU and
> SDRAM) are obtained from the EEPROM, how can C program/function be adopted
> to use these parameters before CPU/memory is initiated? C
> programs/functions need memory space to setup the stacks, which means
> CPU/memory initialization should be done (via assembly) before any C
> programs/functions can be used.
All this is already taken care of. U-Boot uses a small area for initial RAM.
Sometimes in D-cache, sometimes in onboard SRAM (SoC). IIRC, the 405EP has
OCM, so this could be used here. You just need to configure this correctly in
your board config file. Again I suggest you take a look at the zeus board as
an example.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
prev parent reply other threads:[~2008-07-02 9:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-30 5:33 [U-Boot-Users] CPU (405ep) clock upgrade "Yi-Neng Lin (林義能)"
2008-06-30 6:03 ` Stefan Roese
2008-06-30 12:01 ` "Yi-Neng Lin (林義能)"
2008-06-30 12:27 ` Stefan Roese
2008-07-02 9:23 ` Yi-Neng Lin
2008-07-02 9:38 ` Stefan Roese [this message]
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=200807021138.04449.sr@denx.de \
--to=sr@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