mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02:00
dm: cpu: Fix print_cpuinfo() output
It was observed that current output of print_cpuinfo() on QEMU x86 targets does not have an ending '\n', neither have a leading 'CPU:' any more. However it used to have these before. It turns out commitc0434407b5
introduced a unified DM version of print_cpuinfo() that exposed such issue on QEMU x86. Fixes:c0434407b5
("board_f: Use static print_cpuinfo if CONFIG_CPU is active") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -187,7 +187,7 @@ static int print_cpuinfo(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("%s", desc);
|
printf("CPU: %s\n", desc);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user