[PATCH v2 02/30] x86: apl: Add core init for the SoC

Bin Meng bmeng.cn at gmail.com
Tue Nov 3 08:47:19 CET 2020


On Thu, Oct 22, 2020 at 11:03 AM Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> ---
>
> Changes in v2:
> - Rename update_fixed_mtrss() to update_fixed_mtrrs()
> - Add comments to enable_pm_timer_emulation() and cpu_mca_configure()
>
>  arch/x86/cpu/apollolake/cpu.c              | 84 ++++++++++++++++++++++
>  arch/x86/cpu/apollolake/cpu_common.c       | 25 +++++++
>  arch/x86/cpu/apollolake/cpu_spl.c          | 20 ------
>  arch/x86/cpu/intel_common/cpu.c            | 19 +++++
>  arch/x86/include/asm/arch-apollolake/cpu.h | 14 ++++
>  arch/x86/include/asm/cpu_common.h          |  9 +++
>  arch/x86/include/asm/msr-index.h           | 20 +++++-
>  7 files changed, 170 insertions(+), 21 deletions(-)
>

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


More information about the U-Boot mailing list