lib: avb: change the output memssage I/O

Since the stderr is not used in uboot, use printf to print the
message.

Change-Id: Ib522609e783acf8f407e2f9fb3805b553c543cba
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
Jason Zhu 2019-02-28 20:09:50 +08:00 committed by Jianhong Chen
parent 2291ec7c6f
commit 4454e90b43
1 changed files with 90 additions and 90 deletions

View File

@ -61,7 +61,7 @@ void avb_abort(void) {
}
void avb_print(const char* message) {
fprintf(stderr, "%s", message);
printf("%s", message);
}
void avb_printv(const char* message, ...) {
@ -70,7 +70,7 @@ void avb_printv(const char* message, ...) {
va_start(ap, message);
for (m = message; m != NULL; m = va_arg(ap, const char*)) {
fprintf(stderr, "%s", m);
printf("%s", m);
}
va_end(ap);
}