Parcourir la source

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 il y a 3 ans
Parent
commit
2f6ea51dbb
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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)