From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 26 Nov 2018 13:44:33 -0500 Subject: [U-Boot] [U-Boot, v3, 16/21] sandbox: Allow puts() output before global_data is set up In-Reply-To: <20181116014409.147279-17-sjg@chromium.org> References: <20181116014409.147279-17-sjg@chromium.org> Message-ID: <20181126184433.GS11247@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 Thu, Nov 15, 2018 at 06:44:04PM -0700, Simon Glass wrote: > We support putc() in this case but not puts(), but this is more useful > since it is what printf() uses. > > This particularly affects debugging early in SPL, where currently printf() > statements result in no output. Fix this by adding a special case into > puts() for sandbox, just like putc(). > > Signed-off-by: Simon Glass > Reviewed-by: Joe Hershberger 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: