From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 15 May 2015 11:53:48 +0200 Subject: [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem In-Reply-To: <1430751208-26572-1-git-send-email-Ulises.Cardenas@freescale.com> References: <1430751208-26572-1-git-send-email-Ulises.Cardenas@freescale.com> Message-ID: <5555C22C.4010107@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/05/2015 16:53, Ulises.Cardenas at freescale.com wrote: > From: Ulises Cardenas > > 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 > --- > > 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 > #include > #include > +#include > > 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 =====================================================================