From: Matthias Kaehlcke <matthias@kaehlcke.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] early delay from C (before stack setup)
Date: Tue, 8 Dec 2009 23:16:41 +0100 [thread overview]
Message-ID: <20091208221641.GF31886@darwin> (raw)
hi,
i'm writing low-level setup code in C that is executed before the
stack is initialized. this code needs to delay execution at several
points.
it seems to me that the use of udelay() is out of question cause there
is no stack to pass the parameter, besides the timer subsystem udelay()
depends on is not set up at this point.
could someone please enlighten me and tell me what is the U-Boot way
to perform this kind of delay?
--
Matthias Kaehlcke
Embedded Linux Developer
Barcelona
Nationalism is an infantile disease. It is the measles of mankind
(Albert Einstein)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
reply other threads:[~2009-12-08 22:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20091208221641.GF31886@darwin \
--to=matthias@kaehlcke.net \
--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