[U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem

Ulises.Cardenas at freescale.com Ulises.Cardenas at freescale.com
Mon May 4 16:53:28 CEST 2015


From: Ulises Cardenas <Ulises.Cardenas at freescale.com>

 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 at freescale.com>
---

 arch/arm/imx-common/cmd_dek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/imx-common/cmd_dek.c b/arch/arm/imx-common/cmd_dek.c
index d93d5fb..ada8adf 100644
--- a/arch/arm/imx-common/cmd_dek.c
+++ b/arch/arm/imx-common/cmd_dek.c
@@ -14,6 +14,7 @@
 #include <linux/compiler.h>
 #include <fsl_sec.h>
 #include <asm/arch/clock.h>
+#include <mapmem.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-- 
2.3.2



More information about the U-Boot mailing list