Skip to content
Commit f5b66af2 authored by Ye Li's avatar Ye Li Committed by Stefano Babic
Browse files

common: board_f: Use cpu_get_current_dev in print_cpuinfo



Current print_cpuinfo gets the first udevice in CPU class to return
the cpu info. This has problem if the boot CPU is not fixed.

Changing to use new API cpu_get_current_dev to fix the issue.

Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarYe Li <ye.li@nxp.com>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 143f0eed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment