Skip to contentSkip to conversation

apalis-imx8: Remove unused function detail_board_ddr_info()

PATCH New Alifer Moraes 2 participants 4 messages Jan 16, 2020 – Jan 20, 2020 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 apalis-imx8: Remove unused function detail_board_ddr_info()

detail_board_ddr_info() is not used anywhere, so simply remove it.

This function is only used by Layerscape, not by i.MX.

This was detected by the following sparse warning:

board/toradex/apalis-imx8/apalis-imx8.c:92:6: warning: no previous prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]

---
 board/toradex/apalis-imx8/apalis-imx8.c | 5 -----
 1 file changed, 5 deletions(-)
board/toradex/apalis-imx8/apalis-imx8.c +0 -5
index 0483041187..a42fbb722a 100644
@@ -89,11 +89,6 @@ int board_init(void)
 	return 0;
 }
 
-void detail_board_ddr_info(void)
-{
-	puts("\nDDR    ");
-}
-
 /*
  * Board specific reset that is system reset.
  */
Signature · 1 line
2.17.1
#1 lore raw

PATCH 5/5 colibri-imx8x: Remove unused function detail_board_ddr_info()

detail_board_ddr_info() is not used anywhere, so simply remove it.

This function is only used by Layerscape, not by i.MX.

This was detected by the following sparse warning:

board/toradex/colibri-imx8x/colibri-imx8x.c:104:6: warning: no previous prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]

---
 board/toradex/colibri-imx8x/colibri-imx8x.c | 5 -----
 1 file changed, 5 deletions(-)
board/toradex/colibri-imx8x/colibri-imx8x.c +0 -5
index adeee67643..f9e947eede 100644
@@ -101,11 +101,6 @@ int board_init(void)
 	return 0;
 }
 
-void detail_board_ddr_info(void)
-{
-	puts("\nDDR    ");
-}
-
 /*
  * Board specific reset that is system reset.
  */
Signature · 1 line
2.17.1
#2 lore raw

PATCH 5/5 colibri-imx8x: Remove unused function detail_board_ddr_info()

Quoted 6 lines

detail_board_ddr_info() is not used anywhere, so simply remove it. This function is only used by Layerscape, not by i.MX.
This was detected by the following sparse warning:
board/toradex/colibri-imx8x/colibri-imx8x.c:104:6: warning: no previous prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]

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
=====================================================================
#3 lore raw

PATCH 4/5 apalis-imx8: Remove unused function detail_board_ddr_info()

In reply to Alifer Moraes
Quoted 6 lines

detail_board_ddr_info() is not used anywhere, so simply remove it. This function is only used by Layerscape, not by i.MX. This was detected by the following sparse warning:
board/toradex/apalis-imx8/apalis-imx8.c:92:6: warning: no previous prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]

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
=====================================================================