[PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info()

2020-01-20 Thread sbabic
> 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/freescale/imx8qm_mek/imx8qm_mek.c:102:6: warning: no previous
> prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=
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: sba...@denx.de
=


[PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info()

2020-01-16 Thread Alifer Moraes
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/freescale/imx8qm_mek/imx8qm_mek.c:102:6: warning: no previous
prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]
---
 board/freescale/imx8qm_mek/imx8qm_mek.c | 5 -
 1 file changed, 5 deletions(-)

diff --git a/board/freescale/imx8qm_mek/imx8qm_mek.c 
b/board/freescale/imx8qm_mek/imx8qm_mek.c
index 667a2743a6..36d9628853 100644
--- a/board/freescale/imx8qm_mek/imx8qm_mek.c
+++ b/board/freescale/imx8qm_mek/imx8qm_mek.c
@@ -99,11 +99,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