x86: apl: Add core init for the SoC
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:15 +0000 (09:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 5 Nov 2020 06:58:45 +0000 (14:58 +0800)
commit6571d873159789ee7caa571eafa5fa641005971c
treebcb0f59b372597fae7916946cd6be44424a435bf
parent1779b8a96a32706dc8e2e71187889b38d9822443
x86: apl: Add core init for the SoC

Set up MSRs required for Apollo Lake. This enables Linux to use the
timers correctly. Also write the fixed MSRs for this platform.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/apollolake/cpu.c
arch/x86/cpu/apollolake/cpu_common.c
arch/x86/cpu/apollolake/cpu_spl.c
arch/x86/cpu/intel_common/cpu.c
arch/x86/include/asm/arch-apollolake/cpu.h
arch/x86/include/asm/cpu_common.h
arch/x86/include/asm/msr-index.h