Compile cbmem.c instead of including it in romstage,
[coreboot.git] / src / mainboard / kontron / 986lcd-m / romstage.c
index 0b93259ba2851ed1d3d84df2858bef4910cb1d4d..5d773ce6366263d33b34b444269385cd1a923b6e 100644 (file)
@@ -314,14 +314,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;