]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6: soc: Include <asm/bootm.h> header file
authorDiego Dorta <diego.dorta@nxp.com>
Wed, 27 Sep 2017 16:12:37 +0000 (13:12 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 2 Oct 2017 17:31:32 +0000 (14:31 -0300)
commit916afc51de3c062636bcd80db2f51b78166993a6
tree6d926150111704079449698a45a31f922fb4d1b3
parentfc7dc87a9f8bef38a8fa2b105ca1edc3b225e11c
mx6: soc: Include <asm/bootm.h> header file

When compiling with W=1 the following warning is observed:

arch/arm/mach-imx/mx6/soc.c:213:12: warning: no previous prototype for ‘get_board_rev’ [-Wmissing-prototypes] u32 __weak get_board_rev(void)

Fix the build warning by including <asm/bootm.h>.

Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
(cherry picked from commit d0b3b5b4fcb4b7d19f498045073a706676f4287e)
arch/arm/mach-imx/mx6/soc.c