All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Schwarz <simonschwarzcor@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot SPL direct Linux boot
Date: Fri, 1 Jul 2011 11:17:33 +0200	[thread overview]
Message-ID: <BANLkTim0_xgpgme1BTv-C3=18viPr=5jHQ@mail.gmail.com> (raw)
In-Reply-To: <BANLkTiknCo2GZOGU1nU4m6DXq7t0bQZ2fQ@mail.gmail.com>

Ok, topic ATAGS:
I see three ways doing ATAGS init for SPL:
1. use bootm.c which means init bd correctly and add a bunch of #ifdef
CONFIG_PRELOADER to it - maybe also to some others i don't have on the
radar yet.
2. Have ATAGS config in board config file and init it at compile time
3. Doing it like Heiko and copy the ATAGS config done by u-boot

My favourite here is number 2 because it would be faster than  1 and
won't take so much work and won't clutter the standard u-boot code
with #ifdefs. Also it is simpler to use than 3. the downside is that
the section for ATAGS config would be huge and the code could diverge
over time...

Comments?

Regards
Simon

  parent reply	other threads:[~2011-07-01  9:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30 10:32 [U-Boot] U-boot SPL direct Linux boot Simon Schwarz
2011-06-30 11:37 ` Heiko Schocher
2011-06-30 13:44   ` Simon Schwarz
2011-07-03 20:42     ` Wolfgang Denk
2011-07-01  9:17 ` Simon Schwarz [this message]
2011-07-01 13:28   ` Detlev Zundel
2011-07-01 13:57     ` Simon Schwarz
2011-07-01 16:42       ` Simon Schwarz
2011-07-04  6:34         ` Grant Likely
2011-07-05 12:44           ` Simon Schwarz
2011-07-03 20:37       ` Wolfgang Denk
2011-07-01 15:45     ` Wolfgang Denk
2011-07-01 17:04   ` Igor Grinberg
2011-07-01 17:36     ` Simon Schwarz
2011-07-01 17:40       ` Simon Schwarz
2011-07-03 20:51         ` Wolfgang Denk
2011-07-03 20:49       ` 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='BANLkTim0_xgpgme1BTv-C3=18viPr=5jHQ@mail.gmail.com' \
    --to=simonschwarzcor@googlemail.com \
    --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 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.