Refactor copy_and_run so that it uses a single code base instead of
[coreboot.git] / src / mainboard / tyan / s2912_fam10 / cache_as_ram_auto.c
index ae619e58279138694b9a6bdb72812ef713e9843e..8121d34bf74d3cd22b711cb4894fa24c24300131 100644 (file)
@@ -39,6 +39,7 @@
 #define DBGP_DEFAULT 7
 
 #include <stdint.h>
+#include <string.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
 #include <arch/io.h>
@@ -78,10 +79,6 @@ static void post_code(u8 value) {
 
 #include "cpu/x86/bist.h"
 
-#if CONFIG_USE_INIT == 0
-       #include "lib/memcpy.c"
-#endif
-
 #include "northbridge/amd/amdfam10/debug.c"
 
 #include "cpu/amd/mtrr/amd_earlymtrr.c"