mb/google/rauru: Implement regulator interface
[coreboot.git] / src / cpu / intel / model_2065x / finalize.c
blob6910713d8ea9621285d70383f87aa1762aa28e52
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <types.h>
4 #include <cpu/x86/msr.h>
5 #include <cpu/intel/speedstep.h>
7 #include "model_2065x.h"
9 /* MSR Documentation based on
10 * "Sandy Bridge Processor Family BIOS Writer's Guide (BWG)"
11 * Document Number 504790
12 * Revision 1.6.0, June 2012 */
14 void intel_model_2065x_finalize_smm(void)
16 /* Lock C-State MSR */
17 msr_set(MSR_PKG_CST_CONFIG_CONTROL, BIT(15));
19 /* Lock TM interrupts - route thermal events to all processors */
20 msr_set(MSR_MISC_PWR_MGMT, BIT(22));