From: Tom Rini Date: Thu, 28 Feb 2019 18:56:55 -0500 Subject: [U-Boot] spl: add debug print for early malloc usage In-Reply-To: <20190226212752.1373-1-simon.k.r.goldschmidt@gmail.com> References: <20190226212752.1373-1-simon.k.r.goldschmidt@gmail.com> Message-ID: <20190228235655.GE12046@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, Feb 26, 2019 at 10:27:52PM +0100, Simon Goldschmidt wrote: > To find out how big the early malloc heap must be in SPL, add a debug > print statement that dumps its usage before switching to relocated heap > in spl_relocate_stack_gd() via CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN. > > Signed-off-by: Simon Goldschmidt 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: not available URL: