Skip to contentSkip to conversation

mx6sabresd: Remove unneeded checkboard()

PATCH New Fabio Estevam 3 participants 3 messages Dec 14, 2020 – Dec 26, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx6sabresd: Remove unneeded checkboard()

After the conversion to device tree the board information becomes redundant:

Model: Freescale i.MX6 Quad Plus SABRE Smart Device Board
Board: MX6-SabreSD

Remove the printing of the board information.

---
 board/freescale/mx6sabresd/mx6sabresd.c | 6 ------
 1 file changed, 6 deletions(-)
board/freescale/mx6sabresd/mx6sabresd.c +0 -6
index 0d343da519fd..9a176f471182 100644
@@ -575,12 +575,6 @@ int board_late_init(void)
 	return 0;
 }
 
-int checkboard(void)
-{
-	puts("Board: MX6-SabreSD\n");
-	return 0;
-}
-
 #ifdef CONFIG_SPL_BUILD
 #include <asm/arch/mx6-ddr.h>
 #include <spl.h>
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 mx6sabresd: Remove unneeded checkboard()

Quoted 24 lines

Subject: [PATCH] mx6sabresd: Remove unneeded checkboard()

After the conversion to device tree the board information becomes redundant:

Model: Freescale i.MX6 Quad Plus SABRE Smart Device Board
Board: MX6-SabreSD

Remove the printing of the board information.

---
 board/freescale/mx6sabresd/mx6sabresd.c | 6 ------
 1 file changed, 6 deletions(-)
board/freescale/mx6sabresd/mx6sabresd.c +0 -0
index 0d343da519fd..9a176f471182 100644
@@ -575,12 +575,6 @@ int board_late_init(void)
 	return 0;
 }
 

board/freescale/mx6sabresd/mx6sabresd.c int board_late_init(void)

Quoted 10 lines
board/freescale/mx6sabresd/mx6sabresd.c +0 -7
-int checkboard(void)
-{
-	puts("Board: MX6-SabreSD\n");
-	return 0;
-}
-
 #ifdef CONFIG_SPL_BUILD
 #include <asm/arch/mx6-ddr.h>
 #include <spl.h>
--
#2 lore raw

PATCH 1/1 mx6sabresd: Remove unneeded checkboard()

In reply to Fabio Estevam
Quoted 7 lines

After the conversion to device tree the board information becomes redundant:
Model: Freescale i.MX6 Quad Plus SABRE Smart Device Board
Board: MX6-SabreSD
Remove the printing of the board information.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================