commit | b12689d44cbb6114d3a38a4ce103f12b6a44fb62 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Sep 25 08:56:38 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Oct 08 13:57:47 2019 +0800 |
tree | 7d51fa909ae1de76294342a18c8dcc70e1a3eab1 | |
parent | 4347d833bd5ef3f050707317ba528ebf7521adec [diff] |
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>