From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 8 Sep 2016 14:13:35 -0400 Subject: [U-Boot] [PATCH] ARM: Respect CONFIG_SPL_STACK define in lowlevel_init.S In-Reply-To: <1473046570-13795-1-git-send-email-siarhei.siamashka@gmail.com> References: <1473046570-13795-1-git-send-email-siarhei.siamashka@gmail.com> Message-ID: <20160908181335.GJ4990@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 Mon, Sep 05, 2016 at 06:36:10AM +0300, Siarhei Siamashka wrote: > The SPL and U-Boot proper may use different initial stack > locations, which are configured via CONFIG_SPL_STACK and > CONFIG_SYS_INIT_SP_ADDR defines. The lowlevel_init.S > code needs to handle this in the same way as crt0.S > > Without this fix, setting the U-Boot stack location to some > place, which is not safely accessible by the SPL (such as > the DRAM), causes a very early SPL deadlock. > > Signed-off-by: Siarhei Siamashka Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: