]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Add new common CPU functions for turbo/burst mode
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:40 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:47 +0000 (13:57 +0800)
commitde21feec7f227b85634b3207656576c1f5b69c78
tree72b3ebee5003bf9b5aa7bd36cf82b7dc4d3abce0
parent0bd7803518a27ceb71cd62d8984690b4f20fbcc5
x86: Add new common CPU functions for turbo/burst mode

Add a few more CPU functions that are common on Intel CPUs. Also add
attribution for the code source.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: add missing MSR_IA32_MISC_ENABLE write back in cpu_set_eist();
        fix 2 typos in cpu_get_burst_mode_state() comments]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/intel_common/cpu.c
arch/x86/include/asm/cpu_common.h