imx8qxp_mek: Include fdt_support.h header
PATCH 1/1 imx8qxp_mek: Include fdt_support.h header
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]
--- board/freescale/imx8qxp_mek/imx8qxp_mek.c | 1 + 1 file changed, 1 insertion(+)
board/freescale/imx8qxp_mek/imx8qxp_mek.c +1 -0
@@ -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>
Signature · 1 line
2.17.1
PATCH 1/1 imx8qm_mek: Include fdt_support.h header
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]
--- board/freescale/imx8qm_mek/imx8qm_mek.c | 1 + 1 file changed, 1 insertion(+)
board/freescale/imx8qm_mek/imx8qm_mek.c +1 -0
@@ -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>
Signature · 1 line
2.17.1
PATCH 1/1 imx8qm_mek: Include fdt_support.h header
Quoted 4 lines
Include
fdt_support.hheader 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 <[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 2/5 imx8qm_mek: Remove unused function detail_board_ddr_info()
In reply to Alifer Moraesdetail_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(-)
board/freescale/imx8qm_mek/imx8qm_mek.c +0 -5
@@ -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. */
Signature · 1 line
2.17.1
PATCH 2/5 imx8qm_mek: Remove unused function detail_board_ddr_info()
Quoted 5 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/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
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 3/5 imx8qxp_mek: Remove unused function detail_board_ddr_info()
In reply to Alifer Moraesdetail_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]
--- board/freescale/imx8qxp_mek/imx8qxp_mek.c | 5 ----- 1 file changed, 5 deletions(-)
board/freescale/imx8qxp_mek/imx8qxp_mek.c +0 -5
@@ -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. */
Signature · 1 line
2.17.1
PATCH 3/5 imx8qxp_mek: 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/freescale/imx8qxp_mek/imx8qxp_mek.c:115: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 1/1 imx8qxp_mek: Include fdt_support.h header
In reply to Alifer MoraesQuoted 4 lines
Include
fdt_support.hheader 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 <[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 =====================================================================