]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Add common functions for TDP and perf control
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:38 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:47 +0000 (13:57 +0800)
commit064d8a3e44564ab8e66f6abb9974e391bc1f6270
tree7d51fa909ae1de76294342a18c8dcc70e1a3eab1
parent09d970521cce7aaa778cfd9b988de515df339bcd
x86: Add common functions for TDP and perf control

These functions are the same on modern Intel CPUs, so use common code to
set them.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: return false instead of 0 in cpu_ivybridge_config_tdp_levels();
        fix 'muiltiplier' and 'desgn' typos]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/broadwell/cpu.c
arch/x86/cpu/broadwell/cpu_full.c
arch/x86/cpu/intel_common/cpu.c
arch/x86/cpu/ivybridge/model_206ax.c
arch/x86/cpu/ivybridge/northbridge.c
arch/x86/include/asm/arch-ivybridge/model_206ax.h
arch/x86/include/asm/cpu_common.h