From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 28 Jan 2017 17:46:15 -0500 Subject: [U-Boot] [U-Boot, v4, 2/3] spl: Remove overwrite of relocated malloc limit In-Reply-To: <20170127163920.31607-3-afd@ti.com> References: <20170127163920.31607-3-afd@ti.com> Message-ID: <20170128224615.GL22316@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, Jan 27, 2017 at 10:39:19AM -0600, Andrew F. Davis wrote: > spl_init on some boards is called after stack and heap relocation, on > some platforms spl_relocate_stack_gd is called to handle setting the > limit to its value CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN when simple > SPL malloc is enabled during relocation. spl_init should then not > re-assign the old pre-relocation limit when this is defined. > > Signed-off-by: Andrew F. Davis > Reviewed-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: 819 bytes Desc: Digital signature URL: