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

Ruchika Gupta ruchika.gupta at freescale.com
Sun May 10 17:20:17 CEST 2015


> -----Original Message-----
> From: Ulises.Cardenas at freescale.com
> [mailto:Ulises.Cardenas at freescale.com]
> Sent: Monday, May 04, 2015 8:23 PM
> To: Estevam Fabio-R49496
> Cc: u-boot at lists.denx.de; sbabic at denx.de; sjg at chromium.org; Garg Nitin-
> B37173; Gupta Ruchika-R66431; Ulises Cardenas Casas
> Subject: [PATCH] imx: dek_blob: Add explicit include for mapmem
> 
> 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
Reviewed-by: Ruchika Gupta <Ruchika.gupta at freescale.com>



More information about the U-Boot mailing list