Commit ecfe66330d3093b701a26363470c0b6a32a02d89

Authored by Bin Meng
Committed by Simon Glass
1 parent 5d6c61ac40

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 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 <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -187,7 +187,7 @@
187 187 return ret;
188 188 }
189 189  
190   - printf("%s", desc);
  190 + printf("CPU: %s\n", desc);
191 191  
192 192 return 0;
193 193 }