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 <reinauer@google.com> Reviewed-on: http://review.coreboot.org/874 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
c00dfbc1c8
commit
334532eeff
|
@ -35,12 +35,20 @@
|
||||||
#include "../../../southbridge/intel/i82801dx/i82801dx.h"
|
#include "../../../southbridge/intel/i82801dx/i82801dx.h"
|
||||||
#elif CONFIG_SOUTHBRIDGE_INTEL_SCH
|
#elif CONFIG_SOUTHBRIDGE_INTEL_SCH
|
||||||
#include "../../../southbridge/intel/sch/sch.h"
|
#include "../../../southbridge/intel/sch/sch.h"
|
||||||
|
#elif CONFIG_SOUTHBRIDGE_INTEL_BD82X6X || CONFIG_SOUTHBRIDGE_INTEL_C216
|
||||||
|
#include "../../../southbridge/intel/bd82x6x/pch.h"
|
||||||
#else
|
#else
|
||||||
#error "Southbridge needs SMM handler support."
|
#error "Southbridge needs SMM handler support."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_SMM_TSEG
|
#if CONFIG_SMM_TSEG
|
||||||
|
|
||||||
|
#if CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE || CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE
|
||||||
|
#include <northbridge/intel/sandybridge/sandybridge.h>
|
||||||
|
#define TSEG_BAR (DEFAULT_PCIEXBAR | TSEG)
|
||||||
|
#else
|
||||||
|
#error "Northbridge must define TSEG_BAR."
|
||||||
|
#endif
|
||||||
#include <cpu/x86/mtrr.h>
|
#include <cpu/x86/mtrr.h>
|
||||||
|
|
||||||
#endif /* CONFIG_SMM_TSEG */
|
#endif /* CONFIG_SMM_TSEG */
|
||||||
|
|
Loading…
Reference in New Issue