Skip to contentSkip to conversation

imx: dek_blob: Add explicit include for mapmem

PATCH New Ulises.Cardenas at freescale.com 4 participants 4 messages May 4, 2015 – May 15, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx: dek_blob: Add explicit include for mapmem

From: Ulises Cardenas <[email protected]>

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

---

 arch/arm/imx-common/cmd_dek.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/imx-common/cmd_dek.c +1 -0
index d93d5fb..ada8adf 100644
@@ -14,6 +14,7 @@
 #include <linux/compiler.h>
 #include <fsl_sec.h>
 #include <asm/arch/clock.h>
+#include <mapmem.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
Signature · 1 line
2.3.2
#1 lore raw

PATCH 1/1 imx: dek_blob: Add explicit include for mapmem

Quoted 6 lines · On 4 May 2015 at 08:53, <[email protected]> wrote:

From: Ulises Cardenas <[email protected]>

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.

Quoted 7 lines

Fix: make explicit the include of mapmem.h

---

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

PATCH 1/1 imx: dek_blob: Add explicit include for mapmem

In reply to Ulises.Cardenas at freescale.com
Quoted 36 lines

-----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 <[email protected]>

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

---

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

common/cmd_dek.c index d93d5fb..ada8adf 100644

arch/arm/imx-common/cmd_dek.c +1 -1
@@ -14,6 +14,7 @@
 #include <linux/compiler.h>
 #include <fsl_sec.h>
 #include <asm/arch/clock.h>
+#include <mapmem.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
--
Quoted 1 line

2.3.2

#3 lore raw

PATCH 1/1 imx: dek_blob: Add explicit include for mapmem

In reply to Ulises.Cardenas at freescale.com
Quoted 20 lines · Ulises.Cardenas at freescale.com

From: Ulises Cardenas <[email protected]>

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

---

 arch/arm/imx-common/cmd_dek.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/imx-common/cmd_dek.c +0 -0
index d93d5fb..ada8adf 100644

arch/arm/imx-common/cmd_dek.c line 20

Quoted 7 lines
arch/arm/imx-common/cmd_dek.c +1 -0
@@ -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

Signature · 5 lines
=====================================================================
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
=====================================================================