public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] imx8qxp_mek: Include fdt_support.h header
@ 2020-01-16 15:43 Alifer Moraes
  2020-01-16 15:43 ` [PATCH] imx8qm_mek: " Alifer Moraes
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Alifer Moraes @ 2020-01-16 15:43 UTC (permalink / raw)
  To: u-boot

Include fdt_support.h header file to fix the following sparse warning:

board/freescale/imx8qxp_mek/imx8qxp_mek.c:129:5: warning: no previous
prototype for ‘ft_board_setup’ [-Wmissing-prototypes]

Signed-off-by: Alifer Moraes <alifer.wsdm@gmail.com>
---
 board/freescale/imx8qxp_mek/imx8qxp_mek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c b/board/freescale/imx8qxp_mek/imx8qxp_mek.c
index 194eb60cd3..8e731ec32e 100644
--- a/board/freescale/imx8qxp_mek/imx8qxp_mek.c
+++ b/board/freescale/imx8qxp_mek/imx8qxp_mek.c
@@ -9,6 +9,7 @@
 #include <init.h>
 #include <linux/libfdt.h>
 #include <fsl_esdhc_imx.h>
+#include <fdt_support.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/arch/clock.h>
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH] imx8qm_mek: Include fdt_support.h header
  2020-01-16 15:43 [PATCH] imx8qxp_mek: Include fdt_support.h header Alifer Moraes
@ 2020-01-16 15:43 ` Alifer Moraes
  2020-01-20 20:17   ` sbabic at denx.de
  2020-01-16 15:43 ` [PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info() Alifer Moraes
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Alifer Moraes @ 2020-01-16 15:43 UTC (permalink / raw)
  To: u-boot

Include fdt_support.h header file to fix the following sparse warning:

board/freescale/imx8qm_mek/imx8qm_mek.c:116:5: warning: no previous
prototype for ‘ft_board_setup’ [-Wmissing-prototypes]

Signed-off-by: Alifer Moraes <alifer.wsdm@gmail.com>
---
 board/freescale/imx8qm_mek/imx8qm_mek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/freescale/imx8qm_mek/imx8qm_mek.c b/board/freescale/imx8qm_mek/imx8qm_mek.c
index 667a2743a6..139f416d1f 100644
--- a/board/freescale/imx8qm_mek/imx8qm_mek.c
+++ b/board/freescale/imx8qm_mek/imx8qm_mek.c
@@ -8,6 +8,7 @@
 #include <errno.h>
 #include <init.h>
 #include <linux/libfdt.h>
+#include <fdt_support.h>
 #include <asm/io.h>
 #include <asm/gpio.h>
 #include <asm/arch/clock.h>
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info()
  2020-01-16 15:43 [PATCH] imx8qxp_mek: Include fdt_support.h header Alifer Moraes
  2020-01-16 15:43 ` [PATCH] imx8qm_mek: " Alifer Moraes
@ 2020-01-16 15:43 ` Alifer Moraes
  2020-01-20 20:17   ` sbabic at denx.de
  2020-01-16 15:43 ` [PATCH 3/5] imx8qxp_mek: " Alifer Moraes
  2020-01-20 20:18 ` [PATCH] imx8qxp_mek: Include fdt_support.h header sbabic at denx.de
  3 siblings, 1 reply; 8+ messages in thread
From: Alifer Moraes @ 2020-01-16 15:43 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/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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/5] imx8qxp_mek: Remove unused function detail_board_ddr_info()
  2020-01-16 15:43 [PATCH] imx8qxp_mek: Include fdt_support.h header Alifer Moraes
  2020-01-16 15:43 ` [PATCH] imx8qm_mek: " Alifer Moraes
  2020-01-16 15:43 ` [PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info() Alifer Moraes
@ 2020-01-16 15:43 ` Alifer Moraes
  2020-01-20 20:18   ` sbabic at denx.de
  2020-01-20 20:18 ` [PATCH] imx8qxp_mek: Include fdt_support.h header sbabic at denx.de
  3 siblings, 1 reply; 8+ messages in thread
From: Alifer Moraes @ 2020-01-16 15:43 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/freescale/imx8qxp_mek/imx8qxp_mek.c:115:6: warning: no previous
prototype for ‘detail_board_ddr_info’ [-Wmissing-prototypes]

Signed-off-by: Alifer Moraes <alifer.wsdm@gmail.com>
---
 board/freescale/imx8qxp_mek/imx8qxp_mek.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c b/board/freescale/imx8qxp_mek/imx8qxp_mek.c
index 8e731ec32e..f8dd6d0bb0 100644
--- a/board/freescale/imx8qxp_mek/imx8qxp_mek.c
+++ b/board/freescale/imx8qxp_mek/imx8qxp_mek.c
@@ -113,11 +113,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] 8+ messages in thread

* [PATCH] imx8qm_mek: Include fdt_support.h header
  2020-01-16 15:43 ` [PATCH] imx8qm_mek: " Alifer Moraes
@ 2020-01-20 20:17   ` sbabic at denx.de
  0 siblings, 0 replies; 8+ messages in thread
From: sbabic at denx.de @ 2020-01-20 20:17 UTC (permalink / raw)
  To: u-boot

> Include fdt_support.h header file to fix the following sparse warning:
> board/freescale/imx8qm_mek/imx8qm_mek.c:116:5: warning: no previous
> prototype for ‘ft_board_setup’ [-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] 8+ messages in thread

* [PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info()
  2020-01-16 15:43 ` [PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info() Alifer Moraes
@ 2020-01-20 20:17   ` sbabic at denx.de
  0 siblings, 0 replies; 8+ messages in thread
From: sbabic at denx.de @ 2020-01-20 20:17 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/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: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] imx8qxp_mek: Include fdt_support.h header
  2020-01-16 15:43 [PATCH] imx8qxp_mek: Include fdt_support.h header Alifer Moraes
                   ` (2 preceding siblings ...)
  2020-01-16 15:43 ` [PATCH 3/5] imx8qxp_mek: " Alifer Moraes
@ 2020-01-20 20:18 ` sbabic at denx.de
  3 siblings, 0 replies; 8+ messages in thread
From: sbabic at denx.de @ 2020-01-20 20:18 UTC (permalink / raw)
  To: u-boot

> Include fdt_support.h header file to fix the following sparse warning:
> board/freescale/imx8qxp_mek/imx8qxp_mek.c:129:5: warning: no previous
> prototype for ‘ft_board_setup’ [-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] 8+ messages in thread

* [PATCH 3/5] imx8qxp_mek: Remove unused function detail_board_ddr_info()
  2020-01-16 15:43 ` [PATCH 3/5] imx8qxp_mek: " Alifer Moraes
@ 2020-01-20 20:18   ` sbabic at denx.de
  0 siblings, 0 replies; 8+ 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/freescale/imx8qxp_mek/imx8qxp_mek.c:115: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] 8+ messages in thread

end of thread, other threads:[~2020-01-20 20:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-16 15:43 [PATCH] imx8qxp_mek: Include fdt_support.h header Alifer Moraes
2020-01-16 15:43 ` [PATCH] imx8qm_mek: " Alifer Moraes
2020-01-20 20:17   ` sbabic at denx.de
2020-01-16 15:43 ` [PATCH 2/5] imx8qm_mek: Remove unused function detail_board_ddr_info() Alifer Moraes
2020-01-20 20:17   ` sbabic at denx.de
2020-01-16 15:43 ` [PATCH 3/5] imx8qxp_mek: " Alifer Moraes
2020-01-20 20:18   ` sbabic at denx.de
2020-01-20 20:18 ` [PATCH] imx8qxp_mek: Include fdt_support.h header sbabic at denx.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox