diff options
author | Diego Dorta <diego.dorta@nxp.com> | 2017-09-27 13:12:37 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-10-12 17:31:16 +0200 |
commit | c49fa34e5bbc6943d385e74d4fb9ea7e5afecf10 (patch) | |
tree | a2dd1deee9f7f9cb7af224e442dc0e1dadc813ea /arch | |
parent | d26e2c8453cd38a0cf1a16138713af86a4c953b6 (diff) | |
download | u-boot-c49fa34e5bbc6943d385e74d4fb9ea7e5afecf10.zip u-boot-c49fa34e5bbc6943d385e74d4fb9ea7e5afecf10.tar.gz u-boot-c49fa34e5bbc6943d385e74d4fb9ea7e5afecf10.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/mx6/soc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c index b724668..ad72c12 100644 --- a/arch/arm/mach-imx/mx6/soc.c +++ b/arch/arm/mach-imx/mx6/soc.c @@ -13,6 +13,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> +#include <asm/bootm.h> #include <asm/mach-imx/boot_mode.h> #include <asm/mach-imx/dma.h> #include <asm/mach-imx/hab.h> |