Sfoglia il codice sorgente

fix formatting with newline at start of BootMain()

In some instances, the first line printed by ddrinit will end up writing over the secondBoot version line.  This commit fixes the formatting error by printing a newline ('\r\n') immediately after ddrinit initializes the uart.
Drew Fustini 3 anni fa
parent
commit
2f6ea51dbb
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      boot/bootmain.c

+ 1 - 0
boot/bootmain.c

@@ -602,6 +602,7 @@ void BootMain(void)
 
 //	gpio_init();
 	uart_init(3);
+	printk("\r\n");
 
 	ret = init_ddr();
 	if(ret == 0)