board: atmel: remove calls to debug_uart_init

Since 0dba45864b ("arm: Init the debug UART") ,
the debug_uart_init is now called from crt.S

It's no longer required to call it from the board file.

With the current code, the banned <debug_uart> is printed twice:

<debug_uart>

<debug_uart>

U-Boot 2022.07-rc4-00089-gee3d158fa8 (Jun 08 2022 - 17:39:29 +0300)

Remove all calls from board_early_init_f .

Suggested-by: Balamanikandan Gunasundar <Balamanikandan.Gunasundar@microchip.com>
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
Eugen Hristev 2022-06-08 17:49:29 +03:00
parent 5ae89b3cfe
commit 3820020299
19 changed files with 0 additions and 60 deletions

View file

@ -74,9 +74,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -234,9 +234,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -192,9 +192,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -258,9 +258,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -176,9 +176,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -169,9 +169,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -105,9 +105,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -39,9 +39,6 @@ void board_debug_uart_init(void)
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }

View file

@ -101,9 +101,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -65,10 +65,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -58,10 +58,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -48,9 +48,6 @@ void board_debug_uart_init(void)
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }

View file

@ -108,9 +108,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -64,10 +64,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -87,9 +87,6 @@ int board_late_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -140,9 +140,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -102,9 +102,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -100,9 +100,6 @@ void board_debug_uart_init(void)
#ifdef CONFIG_BOARD_EARLY_INIT_F #ifdef CONFIG_BOARD_EARLY_INIT_F
int board_early_init_f(void) int board_early_init_f(void)
{ {
#ifdef CONFIG_DEBUG_UART
debug_uart_init();
#endif
return 0; return 0;
} }
#endif #endif

View file

@ -48,9 +48,6 @@ void board_debug_uart_init(void)
int board_early_init_f(void) int board_early_init_f(void)
{ {
#if (IS_ENABLED(CONFIG_DEBUG_UART))
debug_uart_init();
#endif
return 0; return 0;
} }