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

Stefano Babic sbabic at denx.de
Fri May 15 11:53:48 CEST 2015


On 04/05/2015 16:53, Ulises.Cardenas at freescale.com wrote:
> 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;
>  
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list