From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 14 Jan 2016 08:20:38 -0500 Subject: [U-Boot] [U-Boot, v7, 1/2] Fix board init code to respect the C runtime environment In-Reply-To: <1448470593-23998-1-git-send-email-albert.u.boot@aribaud.net> References: <1448470593-23998-1-git-send-email-albert.u.boot@aribaud.net> Message-ID: <20160114132038.GD3359@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, Nov 25, 2015 at 05:56:32PM +0100, Albert ARIBAUD wrote: > board_init_f_mem() alters the C runtime environment's > stack it is actually already using. This is not a valid > behaviour within a C runtime environment. > > Split board_init_f_mem into C functions which do not alter > their own stack and always behave properly with respect to > their C runtime environment. > > Signed-off-by: Albert ARIBAUD > Acked-by: Thomas Chou 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: