public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jeroen Hofstee <jeroen@myspectrum.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC 0/3] ARM: cleanup gd init
Date: Sun, 22 Sep 2013 20:26:07 +0200	[thread overview]
Message-ID: <523F363F.10700@myspectrum.nl> (raw)
In-Reply-To: <1377361963-11381-1-git-send-email-jeroen@myspectrum.nl>

Hello,

On 08/24/2013 06:32 PM, Jeroen Hofstee wrote:
> 4) Keep the s_init in crt0.S or move it to the board_init_f?
> The disadvantage of the later is that all the different
> board_init_f's need to call system_init.
Since this has been on the mailing-list for a month without a reply,
let's push this a bit.

Moving s_init to board_init_f is not smart since there are many
board_init_f already and likely there will be more in the future
since SPL uses it as well. It also provides a chance to save bootrom
registers to gd. After boad_init_f r1 is clobbered at least..

Regards,
Jeroen

  parent reply	other threads:[~2013-09-22 18:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-24 16:32 [U-Boot] [RFC 0/3] ARM: cleanup gd init Jeroen Hofstee
2013-08-24 16:32 ` [U-Boot] [RFC 1/3] ARM,crt0.S: call s_init instead from ctr0.S Jeroen Hofstee
2013-08-24 16:41   ` Jeroen Hofstee
2013-08-24 16:32 ` [U-Boot] [RFC 2/3] ARM,crt0.S: optional init gd to gdata for spl Jeroen Hofstee
2013-08-24 16:32 ` [U-Boot] [RFC 3/3] ARM: do not assign gd outside of crt0.S Jeroen Hofstee
2013-09-22 18:26 ` Jeroen Hofstee [this message]
2013-09-28 20:39   ` [U-Boot] [RFC 0/3] ARM: cleanup gd init Albert ARIBAUD

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=523F363F.10700@myspectrum.nl \
    --to=jeroen@myspectrum.nl \
    --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