summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2011-01-27 11:09:36 +0000
committerPeter Stuge <peter@stuge.se>2011-01-27 11:09:36 +0000
commit4096fc53727fa081a7fa014dbee005566537421a (patch)
treea6fc48a3a82ff2ba8087a49152c1b6b139a0f083
parenta470019b7a19e164b5dc93b1d541dc4158edbeda (diff)
SMM code on i945 platforms needs udelay()
smm-y wasn't required before, because udelay.c used to be #included from various files in src/mainboard. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Patrick Georgi <patrick.georgi@secunet.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6303 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/mainboard/getac/p470/mainboard_smi.c1
-rw-r--r--src/northbridge/intel/i945/Makefile.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/getac/p470/mainboard_smi.c b/src/mainboard/getac/p470/mainboard_smi.c
index 6831d2e706..47dd3bce85 100644
--- a/src/mainboard/getac/p470/mainboard_smi.c
+++ b/src/mainboard/getac/p470/mainboard_smi.c
@@ -25,7 +25,6 @@
#include <cpu/x86/smm.h>
#include "southbridge/intel/i82801gx/i82801gx.h"
#include "southbridge/intel/i82801gx/nvs.h"
-#include "northbridge/intel/i945/udelay.c"
#include "ec.c"
#define MAX_LCD_BRIGHTNESS 0xd8
diff --git a/src/northbridge/intel/i945/Makefile.inc b/src/northbridge/intel/i945/Makefile.inc
index 1dd8d117ea..7d7cb5dfd5 100644
--- a/src/northbridge/intel/i945/Makefile.inc
+++ b/src/northbridge/intel/i945/Makefile.inc
@@ -26,3 +26,5 @@ romstage-y += raminit.c
romstage-y += early_init.c
romstage-y += errata.c
romstage-y += debug.c
+
+smm-y += udelay.c