board_f: Use static print_cpuinfo if CONFIG_CPU is active
authorMario Six <mario.six@gdsys.cc>
Mon, 6 Aug 2018 08:23:41 +0000 (10:23 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:27 +0000 (09:16 -0800)
commit5d6c61ac404c5c7c463ea6ee216145f29a603f60
treeb6df389996f0550fcf271563eaf2d5e9d1f8deee
parent208ecbad2ea83333e8f3c9933213867addf16f4a
board_f: Use static print_cpuinfo if CONFIG_CPU is active

When the DM CPU drivers are active, printing information about a CPU
should be delegated to a matching driver.

Hence, add a static print_cpuinfo that implements this delegation when
DM CPU drivers are active.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Changed condition to CONFIG_IS_ENABLED(CPU):
Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c
include/init.h