From: Bin Meng Date: Wed, 10 Oct 2018 22:06:55 -0700 Subject: [U-Boot] [PATCH v3 1/8] dm: cpu: Fix print_cpuinfo() output In-Reply-To: <1539234422-1357-1-git-send-email-bmeng.cn@gmail.com> References: <1539234422-1357-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1539234422-1357-2-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 commit c0434407b595 introduced a unified DM version of print_cpuinfo() that exposed such issue on QEMU x86. Fixes: c0434407b595 ("board_f: Use static print_cpuinfo if CONFIG_CPU is active") Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None common/board_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/board_f.c b/common/board_f.c index 213d044..96503ff 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -187,7 +187,7 @@ static int print_cpuinfo(void) return ret; } - printf("%s", desc); + printf("CPU: %s\n", desc); return 0; } -- 2.7.4