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>
Tue, 18 Sep 2018 14:12:16 +0000 (08:12 -0600)
commitc0434407b595f785fc7401237896c48c791b45fd
tree05c02d01ba362bcab04d3de35a506eacdb567f7b
parentdc145a7be3fc6ae2181488e48aee51a34d43ffa0
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