From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 20 Jan 2015 16:40:00 -0500 Subject: [U-Boot] [U-Boot, RFT, 1/2] TI ARMv7: Don't use GD before crt0.S has set it In-Reply-To: <1419026005-5549-1-git-send-email-trini@ti.com> References: <1419026005-5549-1-git-send-email-trini@ti.com> Message-ID: <20150120214000.GN10826@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Dec 19, 2014 at 04:53:24PM -0500, Tom Rini wrote: > Prior to this change we set the gd pointer early so that we can store > data in it. This becomes problematic for DM changes as well as being > odd in general. Re-work the code paths so that we don't need to set the > gd pointer so early and instead can rely upon the normal setting of it. > > In order to do this we do need to move certain calls from s_init into > spl_board_init(), mainly preloader_console_init and > save_omap_boot_params. > > Tested on: Beaglebone Black, AM43xx GP EVM, Beagleboard, Beagleboard xM, > OMAP5 uEVM, DRA7xx EVM > Signed-off-by: Tom Rini > Tested-by: Simon Glass > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: