From patchwork Mon May 4 14:53:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulises.Cardenas@freescale.com X-Patchwork-Id: 467638 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 738C61402AB for ; Tue, 5 May 2015 01:11:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E07174B74E; Mon, 4 May 2015 17:11:44 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 88sDnXdHxDFJ; Mon, 4 May 2015 17:11:44 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 466E24B75D; Mon, 4 May 2015 17:11:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5A9554B75D for ; Mon, 4 May 2015 17:11:41 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AERx93W5PNzl for ; Mon, 4 May 2015 17:11:41 +0200 (CEST) X-Greylist: delayed 873 seconds by postgrey-1.34 at theia; Mon, 04 May 2015 17:11:37 CEST X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0140.outbound.protection.outlook.com [157.56.111.140]) by theia.denx.de (Postfix) with ESMTPS id 8A6C34B74E for ; Mon, 4 May 2015 17:11:37 +0200 (CEST) Received: from BN3PR0301CA0032.namprd03.prod.outlook.com (25.160.180.170) by BY1PR0301MB1222.namprd03.prod.outlook.com (25.161.203.18) with Microsoft SMTP Server (TLS) id 15.1.136.25; Mon, 4 May 2015 14:57:02 +0000 Received: from BN1BFFO11FD042.protection.gbl (2a01:111:f400:7c10::1:112) by BN3PR0301CA0032.outlook.office365.com (2a01:111:e400:4000::42) with Microsoft SMTP Server (TLS) id 15.1.154.19 via Frontend Transport; Mon, 4 May 2015 14:57:02 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD042.mail.protection.outlook.com (10.58.144.105) with Microsoft SMTP Server (TLS) id 15.1.160.8 via Frontend Transport; Mon, 4 May 2015 14:57:01 +0000 Received: from helix.am.freescale.net (helix.am.freescale.net [10.81.16.42]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t44EuxX5003460; Mon, 4 May 2015 07:57:00 -0700 From: To: Date: Mon, 4 May 2015 09:53:28 -0500 Message-ID: <1430751208-26572-1-git-send-email-Ulises.Cardenas@freescale.com> X-Mailer: git-send-email 2.3.2 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(339900001)(189002)(199003)(46102003)(50986999)(50226001)(48376002)(2351001)(229853001)(104016003)(36756003)(86362001)(105606002)(19580405001)(50466002)(87936001)(2371004)(6806004)(47776003)(86152002)(5001960100002)(110136002)(62966003)(77156002)(107886002)(19580395003)(92566002)(5001920100001)(77096005)(4001430100001)(4001450100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB1222; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB1222; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BY1PR0301MB1222; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB1222; X-Forefront-PRVS: 05669A7924 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2015 14:57:01.4503 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB1222 Cc: Ulises Cardenas , ruchika.gupta@freescale.com, u-boot@lists.denx.de Subject: [U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 Reviewed-by: Ruchika Gupta --- 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;