fixed comments

This commit is contained in:
Markus Fröschle
2012-10-25 06:32:04 +00:00
parent b033ba948b
commit 02f5ee92f6

View File

@@ -160,13 +160,14 @@ void init_serial(void)
/********************************************************************/ /********************************************************************/
/* Initialize DDR DIMMs on the EVB board */ /* Initialize DDR DIMMs on the EVB board */
/********************************************************************/ /********************************************************************/
/*
* Check to see if the SDRAM has already been initialized
* by a run control tool
*/
void init_ddram(void) void init_ddram(void)
{ {
uart_out_word('DDRA'); uart_out_word('DDRA');
/*
* Check to see if the SDRAM has already been initialized
* by a run control tool
*/
if (!(MCF_SDRAMC_SDCR & MCF_SDRAMC_SDCR_REF)) { if (!(MCF_SDRAMC_SDCR & MCF_SDRAMC_SDCR_REF)) {
/* Basic configuration and initialization */ /* Basic configuration and initialization */
MCF_SDRAMC_SDRAMDS = 0x000002AA; // SDRAMDS configuration MCF_SDRAMC_SDRAMDS = 0x000002AA; // SDRAMDS configuration
@@ -420,7 +421,7 @@ void test_upd720101(void)
*/ */
void dvi_on(void) { void dvi_on(void) {
uint8_t RBYT; uint8_t RBYT;
uint8_t DBYT; /* FIXME: produces a warning about being unused when it is in fact (for a dummy read) */ uint8_t DBYT; /* only used for a dummy read */
int tries; int tries;
uart_out_word('DVI '); uart_out_word('DVI ');