* [PATCH 4/5] apalis-imx8: Remove unused function detail_board_ddr_info()
@ 2020-01-16 15:46 Alifer Moraes
2020-01-16 15:46 ` [PATCH 5/5] colibri-imx8x: " Alifer Moraes
2020-01-20 20:18 ` [PATCH 4/5] apalis-imx8: " sbabic at denx.de
0 siblings, 2 replies; 4+ messages in thread
From: Alifer Moraes @ 2020-01-16 15:46 UTC (permalink / raw)
To: u-boot
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 <alifer.wsdm@gmail.com>
---
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.
*/
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 5/5] colibri-imx8x: Remove unused function detail_board_ddr_info()
2020-01-16 15:46 [PATCH 4/5] apalis-imx8: Remove unused function detail_board_ddr_info() Alifer Moraes
@ 2020-01-16 15:46 ` Alifer Moraes
2020-01-20 20:18 ` sbabic at denx.de
2020-01-20 20:18 ` [PATCH 4/5] apalis-imx8: " sbabic at denx.de
1 sibling, 1 reply; 4+ messages in thread
From: Alifer Moraes @ 2020-01-16 15:46 UTC (permalink / raw)
To: u-boot
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@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 5/5] colibri-imx8x: Remove unused function detail_board_ddr_info()
2020-01-16 15:46 ` [PATCH 5/5] colibri-imx8x: " Alifer Moraes
@ 2020-01-20 20:18 ` sbabic at denx.de
0 siblings, 0 replies; 4+ messages in thread
From: sbabic at denx.de @ 2020-01-20 20:18 UTC (permalink / raw)
To: u-boot
> 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@gmail.com>
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: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 4/5] apalis-imx8: Remove unused function detail_board_ddr_info()
2020-01-16 15:46 [PATCH 4/5] apalis-imx8: Remove unused function detail_board_ddr_info() Alifer Moraes
2020-01-16 15:46 ` [PATCH 5/5] colibri-imx8x: " Alifer Moraes
@ 2020-01-20 20:18 ` sbabic at denx.de
1 sibling, 0 replies; 4+ messages in thread
From: sbabic at denx.de @ 2020-01-20 20:18 UTC (permalink / raw)
To: u-boot
> 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 <alifer.wsdm@gmail.com>
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: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-01-20 20:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16 15:46 [PATCH 4/5] apalis-imx8: Remove unused function detail_board_ddr_info() Alifer Moraes
2020-01-16 15:46 ` [PATCH 5/5] colibri-imx8x: " Alifer Moraes
2020-01-20 20:18 ` sbabic at denx.de
2020-01-20 20:18 ` [PATCH 4/5] apalis-imx8: " sbabic at denx.de
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.