]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-zynq/spl.c
efi_loader: Add runtime services
[u-boot] / arch / arm / mach-zynq / spl.c
index 7bdac3b12d953be699608aea5b191ac8cfbc13cf..723019d25279b15dedfffac977eb98d9ab37d4f2 100644 (file)
@@ -4,11 +4,12 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
+#include <debug_uart.h>
 #include <spl.h>
 
 #include <asm/io.h>
-#include <asm/arch/hardware.h>
 #include <asm/spl.h>
+#include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -17,11 +18,12 @@ void board_init_f(ulong dummy)
 {
        ps7_init();
 
-       /* Clear the BSS. */
-       memset(__bss_start, 0, __bss_end - __bss_start);
-
        arch_cpu_init();
-       board_init_r(NULL, 0);
+       /*
+        * The debug UART can be used from this point:
+        * debug_uart_init();
+        * printch('x');
+        */
 }
 
 #ifdef CONFIG_SPL_BOARD_INIT