aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/intel/haswell/finalize.c
blob: 3bf9225a1f1192259bc72d4974461d10ee47ca1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */

#include <types.h>
#include <arch/cpu.h>
#include <cpu/x86/msr.h>
#include "haswell.h"

void intel_cpu_haswell_finalize_smm(void)
{
	/* Lock memory configuration to protect SMM */
	msr_set(MSR_LT_LOCK_MEMORY, BIT(0));
}