added scripts for flashing various parts of the firmware with bdmctrl

Fixed hang in DVI initialization (wait...() routines not inlined as supposed to)
This commit is contained in:
Markus Fröschle
2012-12-11 07:05:20 +00:00
parent 70b400c4ce
commit 6a84908002
6 changed files with 75 additions and 9 deletions

View File

@@ -115,7 +115,7 @@ static uint8_t xchg_spi(uint8_t byte)
{
* (volatile uint8_t *) (&MCF_DSPI_DTFR + 3) = byte;
while (! (MCF_DSPI_DSR & MCF_DSPI_DSR_TCF)); /* wait until DSPI transfer complete */
//while (! (MCF_DSPI_DSR & MCF_DSPI_DSR_TCF)); /* wait until DSPI transfer complete */
MCF_DSPI_DSR = 0xffffffff; /* clear DSPI status register */
return * (volatile uint8_t *) (&MCF_DSPI_DRFR + 3);