diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2015-05-29 16:52:50 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2015-06-10 05:34:01 +0200 |
commit | 0f9aa1c9cd49d6c3f8545ce50bbeb79feb7f615b (patch) | |
tree | 0904c509a5f0708ef4a0e3a70d5639c35ade0d6a /src/northbridge/intel/nehalem/smi.c | |
parent | bbd2647b388320b10ae836f65b3d35754113dc02 (diff) |
model_2065x: Use common i945-ivy TSEG SMM init.
Change-Id: I0302cbaeb45a55a4cfee94692eb7372f2b6b206d
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/10468
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/northbridge/intel/nehalem/smi.c')
-rw-r--r-- | src/northbridge/intel/nehalem/smi.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/northbridge/intel/nehalem/smi.c b/src/northbridge/intel/nehalem/smi.c new file mode 100644 index 0000000000..faafdeead1 --- /dev/null +++ b/src/northbridge/intel/nehalem/smi.c @@ -0,0 +1,14 @@ +#define __SIMPLE_DEVICE__ + +#include <types.h> +#include <string.h> +#include <device/device.h> +#include <device/pci.h> +#include "nehalem.h" + +#include <cpu/intel/smm/gen1/smi.h> + +void northbridge_write_smram(u8 smram) +{ + pcie_write_config8(PCI_DEV(QUICKPATH_BUS, 0, 1), QPD0F1_SMRAM, smram); +} |