Compile cbmem.c instead of including it in romstage,
[coreboot.git] / src / mainboard / roda / rk886ex / romstage.c
index 85d163baf8347026f7d90f315c145068befc4b98..80afe80745a1d3fcea0d0d1561ba3b466ead0be5 100644 (file)
@@ -235,14 +235,6 @@ static void init_artec_dongle(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;