From patchwork Thu Jan 16 15:45:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alifer Moraes X-Patchwork-Id: 239679 List-Id: U-Boot discussion From: alifer.wsdm at gmail.com (Alifer Moraes) Date: Thu, 16 Jan 2020 12:45:33 -0300 Subject: [PATCH 1/5] imx8qm_rom7720_a1: Remove unused function detail_board_ddr_info() Message-ID: <20200116154533.10743-1-alifer.wsdm@gmail.com> 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/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c:110:6: warning: no previous prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes] Signed-off-by: Alifer Moraes Reviewed-by: Oliver Graute --- board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c b/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c index 2f97d5ce96..8bcbcc0e3f 100644 --- a/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c +++ b/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c @@ -107,11 +107,6 @@ int board_init(void) return 0; } -void detail_board_ddr_info(void) -{ - puts("\nDDR "); -} - /* * Board specific reset that is system reset. */ From patchwork Thu Jan 16 15:46:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alifer Moraes X-Patchwork-Id: 239680 List-Id: U-Boot discussion From: alifer.wsdm at gmail.com (Alifer Moraes) Date: Thu, 16 Jan 2020 12:46:48 -0300 Subject: [PATCH 4/5] apalis-imx8: Remove unused function detail_board_ddr_info() Message-ID: <20200116154649.10800-1-alifer.wsdm@gmail.com> 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 --- board/toradex/apalis-imx8/apalis-imx8.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/board/toradex/apalis-imx8/apalis-imx8.c b/board/toradex/apalis-imx8/apalis-imx8.c index 0483041187..a42fbb722a 100644 --- a/board/toradex/apalis-imx8/apalis-imx8.c +++ b/board/toradex/apalis-imx8/apalis-imx8.c @@ -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. */ From patchwork Thu Jan 16 15:46:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alifer Moraes X-Patchwork-Id: 239681 List-Id: U-Boot discussion From: alifer.wsdm at gmail.com (Alifer Moraes) Date: Thu, 16 Jan 2020 12:46:49 -0300 Subject: [PATCH 5/5] colibri-imx8x: Remove unused function detail_board_ddr_info() In-Reply-To: <20200116154649.10800-1-alifer.wsdm@gmail.com> References: <20200116154649.10800-1-alifer.wsdm@gmail.com> Message-ID: <20200116154649.10800-2-alifer.wsdm@gmail.com> 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 --- 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. */