Revert "sandbox: remove os_putc() and os_puts()"
authorSimon Glass <sjg@chromium.org>
Mon, 4 Dec 2017 20:48:17 +0000 (13:48 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 7 Dec 2017 20:17:00 +0000 (15:17 -0500)
commit0b189b6ce1738971f2fb7d84860b9bf0f9a1e87b
tree8e3e44672cdff7ad8f754b70e9467db3fb6fdabd
parentbd1e3bcc0b2aece2024a1131b7d96382550ada1e
Revert "sandbox: remove os_putc() and os_puts()"

While sandbox works OK without the special-case code, it does result in
console output being stored in the pre-console buffer while sandbox starts
up. If there is a crash or a problem then there is no indication of what
is going on.

For ease of debugging it seems better to revert this change.

This reverts commit 47b98ad0f6779485d0f0c14f337c3eece273eb54.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/os.c
include/os.h