commit | 4e3dfd5dca2979cc75f9d3eac5f6ea7ad6f1ed4d | [log] [tgz] |
---|---|---|
author | Wolfgang Wallner <wolfgang.wallner@br-automation.com> | Tue Feb 25 13:19:48 2020 +0100 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Mar 05 18:25:22 2020 +0800 |
tree | 30d0db0155174797c61f57d8125988dd8725dd4f | |
parent | b965558b73059cea267382018dcf28a4b2ac1bea [diff] |
x86: apl: Use cpu_x86_get_count() for cpu_ops.get_count Use cpu_x86_get_count() to read the number of cores. cpu_x86_get_count() reads the number of CPUs from the device tree. Using this function we can support multiple Apollo Lake variants, e.g.: E3940 (4 cores) and E3930 (2 cores). This was tested on the E3940 and E3930 Apollo Lake variants. Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>