From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Sun, 22 Sep 2013 20:26:07 +0200 Subject: [U-Boot] [RFC 0/3] ARM: cleanup gd init In-Reply-To: <1377361963-11381-1-git-send-email-jeroen@myspectrum.nl> References: <1377361963-11381-1-git-send-email-jeroen@myspectrum.nl> Message-ID: <523F363F.10700@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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