]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arm: mvebu: Remove commented example code
authorPali Rohár <pali@kernel.org>
Fri, 17 Dec 2021 17:28:51 +0000 (18:28 +0100)
committerStefan Roese <sr@denx.de>
Sun, 19 Dec 2021 08:50:47 +0000 (09:50 +0100)
Include file debug_uart.h already contains documentation how to use it.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/spl.c

index 73c4b9af3e6d36586eb81a6657eacd247569c8c7..742d66aca4bff903cbe76967bded30193022afa0 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <common.h>
 #include <dm.h>
-#include <debug_uart.h>
 #include <fdtdec.h>
 #include <hang.h>
 #include <image.h>
@@ -250,18 +249,6 @@ void board_init_f(ulong dummy)
         */
        board_early_init_f();
 
-       /* Example code showing how to enable the debug UART on MVEBU */
-#ifdef EARLY_UART
-       /*
-        * Debug UART can be used from here if required:
-        *
-        * debug_uart_init();
-        * printch('a');
-        * printhex8(0x1234);
-        * printascii("string");
-        */
-#endif
-
        /*
         * Use special translation offset for SPL. This needs to be
         * configured *before* spl_init() is called as this function