commit | 28abafd338dcf1de149309b519803e8a6544a486 | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Sun May 03 21:58:50 2020 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Sun May 03 15:45:49 2020 +0200 |
tree | a8e7087d1385ee73c5acad975274017d6397070f | |
parent | 137432aa16ab2c4f55c2ddfd03a16b4c6c6c29c0 [diff] |
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: Simon Glass <sjg@chromium.org> Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>