Skip to content
Snippets Groups Projects
  • Alifer Moraes's avatar
    62cdfdcc
    mx8mm_evk: spl: Staticize functions · 62cdfdcc
    Alifer Moraes authored and Stefano Babic's avatar Stefano Babic committed
    
    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>
    62cdfdcc
    History
    mx8mm_evk: spl: Staticize functions
    Alifer Moraes authored and Stefano Babic's avatar Stefano Babic committed
    
    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>