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

Alifer Moraes alifer.wsdm at gmail.com
Thu Jan 16 16:46:49 CET 2020


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]

Signed-off-by: Alifer Moraes <alifer.wsdm at gmail.com>
---
 board/toradex/colibri-imx8x/colibri-imx8x.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/board/toradex/colibri-imx8x/colibri-imx8x.c b/board/toradex/colibri-imx8x/colibri-imx8x.c
index adeee67643..f9e947eede 100644
--- a/board/toradex/colibri-imx8x/colibri-imx8x.c
+++ b/board/toradex/colibri-imx8x/colibri-imx8x.c
@@ -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.
  */
-- 
2.17.1



More information about the U-Boot mailing list