Procházet zdrojové kódy

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 před 3 roky
rodič
revize
2f6ea51dbb
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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)