commit | ebb239a78a0fca9b871e148a7a1d9f7c29267671 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Jul 17 08:48:13 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Mon Jul 20 09:46:44 2020 +0800 |
tree | ff41f0d9e6b634a30b1014d959b7db935f7889d3 | |
parent | c947a62b15e7014f88720f75f33a80d942427f3b [diff] |
x86: mp_init: Set up the CPU numbers at the start At present each CPU is given a number when it starts itself up. While this saves a tiny amount of time by doing the device-tree read in parallel, it is confusing that the numbering happens on the fly. Move this code into mp_init() and do it at the start. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>