arm: mvebu: Remove commented example code
Subsystems (3)
PATCH 1/1 arm: mvebu: Remove commented example code
Include file debug_uart.h already contains documentation how to use it.
Signed-off-by Pali Rohár <[email protected]>
--- arch/arm/mach-mvebu/spl.c | 13 ------------- 1 file changed, 13 deletions(-)
arch/arm/mach-mvebu/spl.c +0 -13
@@ -5,7 +5,6 @@#include <common.h> #include <dm.h> -#include <debug_uart.h> #include <fdtdec.h> #include <hang.h> #include <image.h>
@@ -303,18 +302,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
Signature · 1 line
2.20.1
Quoted 3 lines · Pali Rohár
Include file
debug_uart.halready contains documentation how to use it.Signed-off-by Pali Rohár <[email protected]>
Reviewed-by Stefan Roese <[email protected]>
Thanks,
Stefan
Quoted 26 lines
--- arch/arm/mach-mvebu/spl.c | 13 ------------- 1 file changed, 13 deletions(-)arch/arm/mach-mvebu/spl.c +0
-6@@ -5,7 +5,6 @@#include <common.h> #include <dm.h> -#include <debug_uart.h> #include <fdtdec.h> #include <hang.h> #include <image.h> @@ -303,18 +302,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: -*
arch/arm/mach-mvebu/spl.c void board_init_f(ulong dummy) · line 307
Quoted 10 lines
arch/arm/mach-mvebu/spl.c +0
-7-* 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
Viele Grüße,
Stefan Roese
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
Quoted 3 lines · Pali Rohár
Include file
debug_uart.halready contains documentation how to use it.Signed-off-by Pali Rohár <[email protected]>
Applied to u-boot-marvell/next
Thanks,
Stefan
Quoted 26 lines
--- arch/arm/mach-mvebu/spl.c | 13 ------------- 1 file changed, 13 deletions(-)arch/arm/mach-mvebu/spl.c +0
-6@@ -5,7 +5,6 @@#include <common.h> #include <dm.h> -#include <debug_uart.h> #include <fdtdec.h> #include <hang.h> #include <image.h> @@ -303,18 +302,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: -*
arch/arm/mach-mvebu/spl.c void board_init_f(ulong dummy) · line 307
Quoted 10 lines
arch/arm/mach-mvebu/spl.c +0
-7-* 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
Viele Grüße,
Stefan Roese
Signature · 3 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]