[PATCH 2/2] x86: apl: Use cpu_x86_get_count() for cpu_ops.get_count

Bin Meng bmeng.cn at gmail.com
Tue Feb 25 14:15:36 CET 2020


On Tue, Feb 25, 2020 at 8:19 PM Wolfgang Wallner
<wolfgang.wallner at br-automation.com> wrote:
>
> 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 at br-automation.com>
>
> ---
>
>  arch/x86/cpu/apollolake/cpu.c | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list