Removed old FireTOS code.
This commit is contained in:
@@ -39,9 +39,7 @@ void BaS(void)
|
|||||||
sd_card_idle();
|
sd_card_idle();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* copy tos */
|
/* Initialize the NVRAM */
|
||||||
if (DIP_SWITCH & (1 << 6))
|
|
||||||
{
|
|
||||||
MCF_PSC3_PSCTB_8BIT = 'ACPF';
|
MCF_PSC3_PSCTB_8BIT = 'ACPF';
|
||||||
wait_10ms();
|
wait_10ms();
|
||||||
|
|
||||||
@@ -68,16 +66,6 @@ void BaS(void)
|
|||||||
{
|
{
|
||||||
*dst++ = *src++;
|
*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 */
|
/* we have copied a code area, so flush the caches */
|
||||||
flush_and_invalidate_caches();
|
flush_and_invalidate_caches();
|
||||||
|
|||||||
@@ -709,22 +709,14 @@ void initialize_hardware(void) {
|
|||||||
init_slt();
|
init_slt();
|
||||||
init_fbcs();
|
init_fbcs();
|
||||||
init_ddram();
|
init_ddram();
|
||||||
|
|
||||||
/* do not initialize PCI if DIP switch 5 = on */
|
|
||||||
if (DIP_SWITCH & (1 << 6))
|
|
||||||
init_PCI();
|
init_PCI();
|
||||||
|
|
||||||
init_fpga();
|
init_fpga();
|
||||||
init_pll();
|
init_pll();
|
||||||
init_video_ddr();
|
init_video_ddr();
|
||||||
dvi_on();
|
dvi_on();
|
||||||
|
|
||||||
/* do not initialize ports if DIP switch 5 = on */
|
|
||||||
if (DIP_SWITCH & (1 << 6)) {
|
|
||||||
test_upd720101();
|
test_upd720101();
|
||||||
/* video_1280_1024(); */
|
//video_1280_1024();
|
||||||
init_ac97();
|
init_ac97();
|
||||||
}
|
|
||||||
|
|
||||||
/* copy the BaS code contained in flash to its final location */
|
/* copy the BaS code contained in flash to its final location */
|
||||||
src = (uint32_t *)BAS_LMA;
|
src = (uint32_t *)BAS_LMA;
|
||||||
|
|||||||
Reference in New Issue
Block a user