sandbox: add function os_printf()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 4 Apr 2022 20:45:03 +0000 (22:45 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Jun 2022 02:09:51 +0000 (03:09 +0100)
commit7750ee45a62c7834f170f817232e432b8d2a14d3
tree0d796cbb17c4ff3227daa2a3cbc7fd583fdffb53
parentebcaafcded40da8ae6cb4234c2ba9901c7bee644
sandbox: add function os_printf()

Before setting up the devices U-Boot's printf() function cannot be used
for console output. Provide function os_printf() to print to stderr.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
arch/sandbox/cpu/os.c
include/os.h