diff options
author | Simon Glass <sjg@chromium.org> | 2018-11-15 18:44:04 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-26 08:25:36 -0500 |
commit | 36bcea62af98145e6859cabec9c8f82d1d057bf9 (patch) | |
tree | 54f2a64ef405ee95d8547d22ccfc18fb8aabfaff /arch/sandbox/cpu | |
parent | d66ddafaf94386f8b92b190a09a0dc488a89149f (diff) | |
download | u-boot-36bcea62af98145e6859cabec9c8f82d1d057bf9.tar.gz |
sandbox: Allow puts() output before global_data is set up
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@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/sandbox/cpu')
0 files changed, 0 insertions, 0 deletions