From: Tom Rini Date: Tue, 3 Mar 2015 10:15:53 -0500 Subject: [U-Boot] [PATCH v6 6/6] ti: armv7: am33xx: Move SPL SDRAM into the correct place In-Reply-To: <1425394982-16196-7-git-send-email-sjg@chromium.org> References: <1425394982-16196-1-git-send-email-sjg@chromium.org> <1425394982-16196-7-git-send-email-sjg@chromium.org> Message-ID: <20150303151553.GH25373@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 Tue, Mar 03, 2015 at 08:03:02AM -0700, Simon Glass wrote: > Currently SDRAM is set up before global_data is available. This will soon > not work. Adjust the ordering to cope, using the new CONFIG_SPL_STACK_R > option to ensure that the stack is still in SDRAM once baord_init_r() > starts in SPL. > > Signed-off-by: Simon Glass It's good that we're on the same path :) I think we should stick this into the config files as part of getting people used to that. What I've got locally will also remove a bunch of CONFIG_SPL_STACK settings that don't do anything now (since they pointed back up to CONFIG_SYS_INIT_SP_ADDR). I'm going to test the hard case (falcon mode poking at env for settings). But I'm going to grab your patch as the base since keeping board_early_init_f() around will keep the am335x+NOR case closer to working. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: