From: Tom Rini Date: Wed, 4 Mar 2015 17:16:28 -0500 Subject: [U-Boot] [PATCH v7 6/6] ti: armv7: Move SPL SDRAM init to the right place, drop unused CONFIG_SPL_STACK In-Reply-To: <1425486628-18243-1-git-send-email-trini@konsulko.com> References: <1425394982-16196-7-git-send-email-sjg@chromium.org> <1425486628-18243-1-git-send-email-trini@konsulko.com> Message-ID: <20150304221628.GF25373@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 Wed, Mar 04, 2015 at 11:30:28AM -0500, Tom Rini wrote: > From: Simon Glass > > Currently in some cases SDRAM init requires global_data to be available > and soon this will not be available prior to board_init_f(). Adjust the > code paths in these cases to be correct. In some cases we had the SPL > stack be in DDR as we might have large stacks (due to Falcon Mode + > Environment). In these cases switch to CONFIG_SPL_STACK_R. In other > cases we had simply been setting CONFIG_SPL_STACK into SRAM. In these > cases we no longer need to (CONFIG_SYS_INIT_SP_ADDR is used and is also > in SRAM) so drop those lines. > > Signed-off-by: Simon Glass > Tested on Beagleboard, Beagleboard xM > Tested-by: Matt Porter > Tested on Beaglebone Black, AM43xx GP EVM, OMAP5 uEVM, OMAP4 Pandaboard > Tested-by: Tom Rini > Signed-off-by: Tom Rini 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: