apalis-imx8: Remove unused function detail_board_ddr_info()
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
@@ -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
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
@@ -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
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]Signed-off-by Alifer Moraes <[email protected]>
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 =====================================================================
PATCH 4/5 apalis-imx8: Remove unused function detail_board_ddr_info()
In reply to Alifer MoraesQuoted 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]Signed-off-by Alifer Moraes <[email protected]>
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 =====================================================================