commit | 77a5e2d3bc61f65336924d59a08ebe233b46a545 | [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 | 36c184bd0a6b73ae3a3ca096a7d04e45c5301e14 [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>