public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] imx:  dek_blob: Add explicit include for mapmem
@ 2015-05-04 14:53 Ulises.Cardenas at freescale.com
  2015-05-04 15:04 ` Simon Glass
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ulises.Cardenas at freescale.com @ 2015-05-04 14:53 UTC (permalink / raw)
  To: u-boot

From: Ulises Cardenas <Ulises.Cardenas@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@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem
  2015-05-04 14:53 [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem Ulises.Cardenas at freescale.com
@ 2015-05-04 15:04 ` Simon Glass
  2015-05-10 15:20 ` Ruchika Gupta
  2015-05-15  9:53 ` Stefano Babic
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2015-05-04 15:04 UTC (permalink / raw)
  To: u-boot

On 4 May 2015 at 08:53,  <Ulises.Cardenas@freescale.com> wrote:
> From: Ulises Cardenas <Ulises.Cardenas@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@freescale.com>
> ---
>
>  arch/arm/imx-common/cmd_dek.c | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem
  2015-05-04 14:53 [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem Ulises.Cardenas at freescale.com
  2015-05-04 15:04 ` Simon Glass
@ 2015-05-10 15:20 ` Ruchika Gupta
  2015-05-15  9:53 ` Stefano Babic
  2 siblings, 0 replies; 4+ messages in thread
From: Ruchika Gupta @ 2015-05-10 15:20 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem
  2015-05-04 14:53 [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem Ulises.Cardenas at freescale.com
  2015-05-04 15:04 ` Simon Glass
  2015-05-10 15:20 ` Ruchika Gupta
@ 2015-05-15  9:53 ` Stefano Babic
  2 siblings, 0 replies; 4+ messages in thread
From: Stefano Babic @ 2015-05-15  9:53 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-15  9:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-04 14:53 [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem Ulises.Cardenas at freescale.com
2015-05-04 15:04 ` Simon Glass
2015-05-10 15:20 ` Ruchika Gupta
2015-05-15  9:53 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox