diff --git a/Targets/LS2K/ls2k/tgt_machdep.c b/Targets/LS2K/ls2k/tgt_machdep.c index 138664ca..5e6d66e7 100644 --- a/Targets/LS2K/ls2k/tgt_machdep.c +++ b/Targets/LS2K/ls2k/tgt_machdep.c @@ -121,7 +121,6 @@ int vga_available = 0; #include "spinand_mt29f.h" #include "spinand_lld.h" #include "m25p80.h" -#include "target/load_dtb.h" int tgt_i2cread(int type, unsigned char *addr, int addrlen, unsigned char reg, unsigned char *buf, int count); @@ -382,9 +381,7 @@ void initmips(unsigned long long raw_memsz) #ifdef DEBUG_BY_EJTAG *(volatile int *)0xbfe10080 = 0x001000f0; #else - memcpy(0xaf900000+DTB_OFFS, 0xbfc00000+DTB_OFFS, DTB_SIZE); - //*(volatile int *)0xbfe10080 = 0x1fc000d2; - *(volatile int *)0xbfe10080 = 0x0f9000f0; + *(volatile int *)0xbfe10080 = 0x1fc000d2; #endif #if NNAND #ifdef CONFIG_LS2K_NAND