From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 28 Aug 2015 17:02:52 -0400 Subject: [U-Boot] [U-Boot, 1/5] ARM: keystone2: configs: Move SP to end of u-boot section In-Reply-To: <1439821492-32615-2-git-send-email-lokeshvutla@ti.com> References: <1439821492-32615-2-git-send-email-lokeshvutla@ti.com> Message-ID: <20150828210252.GT25532@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, Aug 17, 2015 at 07:54:48PM +0530, Lokesh Vutla wrote: > Currently u-boot stack is defined at the beginning of MSMC RAM. > This is a problem for uart boot mode as ROM downloads directly to > starting of MSMC RAM. > Fixing it by moving stack to the end of u-boot section and shifting > SYS_TEXT_BASE to the start of MSMC RAM. > Updated division of MSMC RAM is shown below: > ----------------------------------------- > | | | | > | U-Boot text |U-Boot | SPL text | > | download | Stack | Download + | > | | | SPL_BSS + | > | | | SPL_STACK | > ----------------------------------------- > [1] [2] [3] [4] > > [1] SYS_TEXT_BASE (Start of MSMC RAM) > [2] SPL_TEXT_BASE - GBL_DATA_SIZE > [3] SPL_TEXT_BASE > [4] END of SPL > > [1] + [2] is at least 1M on all platforms, so no chance of overlap. > > Reviewed-by: Nishanth Menon > Signed-off-by: Lokesh Vutla 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: