All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] early delay from C (before stack setup)
@ 2009-12-08 22:16 Matthias Kaehlcke
  0 siblings, 0 replies; only message in thread
From: Matthias Kaehlcke @ 2009-12-08 22:16 UTC (permalink / raw)
  To: u-boot

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                  `-

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-08 22:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-08 22:16 [U-Boot] early delay from C (before stack setup) Matthias Kaehlcke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.