aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/x86/smm/smmhandler_tseg.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/smm/smmhandler_tseg.S')
-rw-r--r--src/cpu/x86/smm/smmhandler_tseg.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cpu/x86/smm/smmhandler_tseg.S b/src/cpu/x86/smm/smmhandler_tseg.S
index fdc50536de..b33fcdf86f 100644
--- a/src/cpu/x86/smm/smmhandler_tseg.S
+++ b/src/cpu/x86/smm/smmhandler_tseg.S
@@ -67,8 +67,15 @@
#include <northbridge/intel/haswell/haswell.h>
#define TSEG_BAR (DEFAULT_PCIEXBAR | TSEG)
#else
+#if CONFIG_NORTHBRIDGE_INTEL_FSP_SANDYBRIDGE || CONFIG_NORTHBRIDGE_INTEL_FSP_IVYBRIDGE
+#include <northbridge/intel/fsp_sandybridge/northbridge.h>
+#define TSEG_BAR (DEFAULT_PCIEXBAR | TSEG)
+#else
#error "Northbridge must define TSEG_BAR."
#endif
+#endif
+
+
/* initially SMM is some sort of real mode. Let gcc know
* how to treat the SMM handler stub