From 4096fc53727fa081a7fa014dbee005566537421a Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Thu, 27 Jan 2011 11:09:36 +0000 Subject: 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 Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6303 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/getac/p470/mainboard_smi.c | 1 - src/northbridge/intel/i945/Makefile.inc | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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 #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 -- cgit v1.2.3