Browse Source

Fix compilation bug if INTERFACE_3A780E option is disable in BIOS

If bios option "INTERFACE_3A780E" is disable, some compile error will
appear, this because the end of the macro is at wrong place in the
function "tgt_devconfig" of file "tgt_machdep.c". Now it's loaction is
changed and it can pass compilation.User can comment "INTERFACE_3A780E"
option to test this patch.

Target:Bonito3a780e
master
XiaQichao 13 years ago
committed by wanghongmei
parent
commit
fa097c8205
  1. 5
      Targets/Bonito3a780e/Bonito/tgt_machdep.c

5
Targets/Bonito3a780e/Bonito/tgt_machdep.c

@ -836,14 +836,13 @@ run:
video_putchar1(2 + ic*8, INF_ROW_LINE,bootup[ic]);
}
#endif
printf("devconfig done.\n");
sb700_interrupt_fixup();
}
#endif
extern int test_icache_1(short *addr);
extern int test_icache_2(int addr);
extern int test_icache_3(int addr);

Loading…
Cancel
Save