|
@@ -237,6 +237,13 @@ wr_done:
|
|
|
#ifdef CONFIG_MIPS_INIT_STACK_IN_SRAM
|
|
|
/* Set up initial stack and global data */
|
|
|
setup_stack_gd
|
|
|
+
|
|
|
+# ifdef CONFIG_DEBUG_UART
|
|
|
+ /* Earliest point to set up debug uart */
|
|
|
+ PTR_LA t9, debug_uart_init
|
|
|
+ jalr t9
|
|
|
+ nop
|
|
|
+# endif
|
|
|
#endif
|
|
|
|
|
|
#ifndef CONFIG_SKIP_LOWLEVEL_INIT
|
|
@@ -263,6 +270,13 @@ wr_done:
|
|
|
#ifndef CONFIG_MIPS_INIT_STACK_IN_SRAM
|
|
|
/* Set up initial stack and global data */
|
|
|
setup_stack_gd
|
|
|
+
|
|
|
+# ifdef CONFIG_DEBUG_UART
|
|
|
+ /* Earliest point to set up debug uart */
|
|
|
+ PTR_LA t9, debug_uart_init
|
|
|
+ jalr t9
|
|
|
+ nop
|
|
|
+# endif
|
|
|
#endif
|
|
|
|
|
|
move a0, zero # a0 <-- boot_flags = 0
|