Преглед изворни кода

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 година
родитељ
комит
2f6ea51dbb
1 измењених фајлова са 1 додато и 0 уклоњено
  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)