commonlib: Add new "ESE completed AUnit loading" TS
[coreboot2.git] / src / cpu / intel / model_206ax / finalize.c
blobafdb7df200392a2fd475ab06530106d62e005bcb
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <types.h>
4 #include <cpu/x86/msr.h>
6 #include "model_206ax.h"
8 /* MSR Documentation based on
9 * "Sandy Bridge Processor Family BIOS Writer's Guide (BWG)"
10 * Document Number 504790
11 * Revision 1.6.0, June 2012 */
13 void intel_model_206ax_finalize_smm(void)
15 /* Lock TM interrupts - route thermal events to all processors */
16 msr_set(MSR_MISC_PWR_MGMT, BIT(22));
18 /* Lock memory configuration to protect SMM */
19 msr_set(MSR_LT_LOCK_MEMORY, BIT(0));