Removed old FireTOS code.

This commit is contained in:
Vincent Rivière
2012-10-22 18:15:01 +00:00
parent 1f0838759b
commit aab98f0429
2 changed files with 25 additions and 45 deletions

View File

@@ -39,9 +39,7 @@ void BaS(void)
sd_card_idle();
}
/* copy tos */
if (DIP_SWITCH & (1 << 6))
{
/* Initialize the NVRAM */
MCF_PSC3_PSCTB_8BIT = 'ACPF';
wait_10ms();
@@ -68,16 +66,6 @@ void BaS(void)
{
*dst++ = *src++;
}
}
else
{
/* copy FireTOS */
src = (uint8_t *) 0xe0400000L;
while (src < (uint8_t *) 0xe0500000L)
{
*dst++ = *src++;
}
}
/* we have copied a code area, so flush the caches */
flush_and_invalidate_caches();

View File

@@ -709,22 +709,14 @@ void initialize_hardware(void) {
init_slt();
init_fbcs();
init_ddram();
/* do not initialize PCI if DIP switch 5 = on */
if (DIP_SWITCH & (1 << 6))
init_PCI();
init_fpga();
init_pll();
init_video_ddr();
dvi_on();
/* do not initialize ports if DIP switch 5 = on */
if (DIP_SWITCH & (1 << 6)) {
test_upd720101();
/* video_1280_1024(); */
//video_1280_1024();
init_ac97();
}
/* copy the BaS code contained in flash to its final location */
src = (uint32_t *)BAS_LMA;