Skip to content
Snippets Groups Projects
Commit 62cdfdcc authored by Alifer Moraes's avatar Alifer Moraes Committed by Stefano Babic
Browse files

mx8mm_evk: spl: Staticize functions


Functions spl_dram_init() and power_init_board() are used only in
the scope of this file, so make them static to fix the following sparse
warnings:

board/freescale/imx8mm_evk/spl.c:40:6: warning: no previous prototype
for ‘spl_dram_init’ [-Wmissing-prototypes]

board/freescale/imx8mm_evk/spl.c:85:5: warning: no previous prototype
for ‘power_init_board’ [-Wmissing-prototypes]

Signed-off-by: default avatarAlifer Moraes <alifer.wsdm@gmail.com>
parent c27483fc
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ int spl_board_boot_device(enum boot_device boot_dev_spl)
}
}
void spl_dram_init(void)
static void spl_dram_init(void)
{
ddr_init(&dram_timing);
}
......@@ -82,7 +82,7 @@ int board_early_init_f(void)
return 0;
}
int power_init_board(void)
static int power_init_board(void)
{
struct udevice *dev;
int ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment