]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: dek_blob: Add explicit include for mapmem
authorUlises Cardenas <Ulises.Cardenas@freescale.com>
Mon, 4 May 2015 14:53:28 +0000 (09:53 -0500)
committerStefano Babic <sbabic@denx.de>
Fri, 15 May 2015 17:20:48 +0000 (19:20 +0200)
 Boards such as imx6q_sabresd might not have mapmem.h as part of
 their common library. This causes a build error if the DEK blob
 command is enabled.

 Fix: make explicit the include of mapmem.h

Signed-off-by: Ulises Cardenas <Ulises.Cardenas@freescale.com>
Reviewed-by: Ruchika Gupta <Ruchika.gupta@freescale.com>
arch/arm/imx-common/cmd_dek.c

index d93d5fb240d092278099e536598fd3bcd363df54..ada8adf2f4f041cd6c5fcd865087fd64b2b47105 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/compiler.h>
 #include <fsl_sec.h>
 #include <asm/arch/clock.h>
+#include <mapmem.h>
 
 DECLARE_GLOBAL_DATA_PTR;