aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/ibase
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2010-12-13 20:02:23 +0000
committerRudolf Marek <r.marek@assembler.cz>2010-12-13 20:02:23 +0000
commit475916ddbfb0ba9fed7f17a2613736551912e3f9 (patch)
tree1d902f5800e485eed450a3a00459f4256db77bae /src/mainboard/ibase
parentc4369536da601a02b23cb936c16e54c0485ec21e (diff)
Compile cbmem.c instead of including it in romstage,
and do that only if resume is done. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Patrick Georgi <patrick@georgi-clan.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6174 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/ibase')
-rw-r--r--src/mainboard/ibase/mb899/romstage.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mainboard/ibase/mb899/romstage.c b/src/mainboard/ibase/mb899/romstage.c
index 15a735e9fa..d3a029961a 100644
--- a/src/mainboard/ibase/mb899/romstage.c
+++ b/src/mainboard/ibase/mb899/romstage.c
@@ -225,14 +225,6 @@ static void early_ich7_init(void)
#include <cbmem.h>
-// Now, this needs to be included because it relies on the symbol
-// __PRE_RAM__ being set during CAR stage (in order to compile the
-// BSS free versions of the functions). Either rewrite the code
-// to be always BSS free, or invent a flag that's better suited than
-// __PRE_RAM__ to determine whether we're in ram init stage (stage 1)
-//
-#include "lib/cbmem.c"
-
void main(unsigned long bist)
{
u32 reg32;