disabled FPGA early until its initialized freshly.

This commit is contained in:
Markus Fröschle
2012-11-17 21:05:12 +00:00
parent c4c7046432
commit 4a4a907ce5
4 changed files with 28 additions and 14 deletions

View File

@@ -85,6 +85,8 @@ void init_fpga(void)
}
} while ((!(MCF_GPIO_PPDSDR_FEC1L & FPGA_CONF_DONE)) && (fpga_data < (uint8_t *) FPGA_FLASH_DATA_END));
xprintf("finished copying. Clocking\r\n");
if (fpga_data < (uint8_t *) FPGA_FLASH_DATA_END)
{
for (i = 0; i < 4000; i++)