Browse 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 3 years ago
parent
commit
2f6ea51dbb
1 changed files with 1 additions and 0 deletions
  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)