[U-Boot] [PATCH 17/22] sandbox: Allow puts() output before global_data is set up

Joe Hershberger joe.hershberger at ni.com
Wed Sep 26 22:24:36 UTC 2018


On Wed, Sep 26, 2018 at 4:55 PM, Simon Glass <sjg at chromium.org> 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 <sjg at chromium.org>

Reviewed-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list