Hi Mario, On 6 August 2018 at 02:23, Mario Six <mario....@gdsys.cc> wrote: > 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 <s...@chromium.org> > Signed-off-by: Mario Six <mario....@gdsys.cc> > --- > > Notes: > v3 -> v4: > * Print error if CPU description could not be retrieved > * Improved error handling and debug reporting > * Added documentation > > v2 -> v3: > No changes > > v1 -> v2: > New in v2 > > common/board_f.c | 28 ++++++++++++++++++++++++++++ > include/init.h | 7 +++++++ > 2 files changed, 35 insertions(+) >
I have applied this, but with a change to use CONFIG_IS_ENABLED(CPU). At present chromebook_link64 calls print_cpuinfo() from SPL, so we need something like this. Perhaps a better fix is to move the function into common/init ? Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot