From 334532eeffac3a26ffbd25bdf4808b87cad2a208 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 5 Apr 2012 15:59:33 -0700 Subject: Add Sandybridge/Cougar Point support to SMM relocation handler Previously this part of smmrelocate.S had to be omitted because the CONFIG_ options for those components did not exist yet. Add them back. Change-Id: I6ac94ca804e03062724401a08d1d174adac5e830 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/874 Reviewed-by: Duncan Laurie Tested-by: build bot (Jenkins) --- src/cpu/x86/smm/smmrelocate.S | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/cpu/x86') diff --git a/src/cpu/x86/smm/smmrelocate.S b/src/cpu/x86/smm/smmrelocate.S index 18d668c9dd..b752531c32 100644 --- a/src/cpu/x86/smm/smmrelocate.S +++ b/src/cpu/x86/smm/smmrelocate.S @@ -35,12 +35,20 @@ #include "../../../southbridge/intel/i82801dx/i82801dx.h" #elif CONFIG_SOUTHBRIDGE_INTEL_SCH #include "../../../southbridge/intel/sch/sch.h" +#elif CONFIG_SOUTHBRIDGE_INTEL_BD82X6X || CONFIG_SOUTHBRIDGE_INTEL_C216 +#include "../../../southbridge/intel/bd82x6x/pch.h" #else #error "Southbridge needs SMM handler support." #endif #if CONFIG_SMM_TSEG +#if CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE || CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE +#include +#define TSEG_BAR (DEFAULT_PCIEXBAR | TSEG) +#else +#error "Northbridge must define TSEG_BAR." +#endif #include #endif /* CONFIG_SMM_TSEG */ -- cgit v1.2.3