From patchwork Wed Jul 21 14:16:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 483289 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp6209826jao; Wed, 21 Jul 2021 06:45:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylMDnQmu2c667kVyyDvA5Jd1lq64yRSpqx+33is4dGfK5v0fWTfu3tl5pllPpRplVi4pMd X-Received: by 2002:a05:6402:1592:: with SMTP id c18mr48186650edv.243.1626875109202; Wed, 21 Jul 2021 06:45:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626875109; cv=pass; d=google.com; s=arc-20160816; b=MQBx5cNnpDlwkZAScACZN8PKORmch6BX0wzvnWid3PE42fzivPYWLPs9yVtWGWLqsV IGUuVH5aB2ly3evoCsQwrhEVUiq2zeWWPaiRSK96AnKNE3d6FIwDwKng7DRUbBiQTDlV 8Ii9132wBEDfe26BVgVpQHQ0F7XwsFWEbL/tzT55HbQXovOqJsJK2C5vwbJGWpsbFWF+ hX2z1OyNXznUZYua46DJMuw7by+OPjNrxx0AB1WcgnBVIljxvzVzi58JbFoMlRRusO9/ jesTJmOkfEQCLxq28C67yfqzT9NeCgvCjsJ5xVkSbj8tw+bnxHz3m4MQWdxJl9+pdWGu kEgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=j261ZSLhhCvpgiG1nAlLCio7x+otahcqA6Np7C4EkXk=; b=kS4VZzh50LskqnT2ZKpgA7ilDCxI1yHTFXG0ZNviV8pxcLUq7igNP/KEWQUcB8qcCx i6CTVQNlwujEbxBtI5SOHvOOHaTQURm6+mrGPJ5axURlldweGkCmQHUA6ulRP5uWRBcw wwPdClrDYzphUF4ulBWgv0bSi0TYdFZgY1ftAg7rbTrOgTmKHh3rwjJuYh9n/34ApJxH TNYydKC9sP4UwincHkAK3g8ThlAW8gZO15WF1EZZcx292TxkLucgtVg8c7bDIl6iNiS9 icXl7W8yQVkM7ElpYu/MlrmD57LZ/I1cOclAZibs3rGVhEk9+7O5N8ozOeYY6tFN+OeW Ucbw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=KicLnqNo; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id lx14si18208806ejb.416.2021.07.21.06.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 06:45:09 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=KicLnqNo; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4D21882C64; Wed, 21 Jul 2021 15:44:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="KicLnqNo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7FEF082C4D; Wed, 21 Jul 2021 15:43:50 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on0627.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::627]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7B1C782BAA for ; Wed, 21 Jul 2021 15:43:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b09b8y/hmE2X9sD9PDUfPK5q+P5fTXR/ZT2NzfgMob+pggWPIKJUpkOZJ282gI3a2Xx8dPq8ka1v9C70XzKGodGrfT8nDj2id/42DlrVHHZ1H3+9Ml11veMLKjDCayKgt0CfYA2yC3HyKWXREPurZdi729MjhBfrYZqB234imYsWBw8VcNxA/KUECo+u0k4Ggg+khICHVMeyZAriW6ijnyCyqaIZ38RUO8p+2ag7NP1KXNEKNYJVd57ZeRMZcWStoP9zoX+LKPCgW7lzJZDQxntvcMQbpP4gm/WuRPqxzvTLz9GldKDLtmvMxvOhf1zaKVRY4Roh2dQ92AUwPW5+Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j261ZSLhhCvpgiG1nAlLCio7x+otahcqA6Np7C4EkXk=; b=OXbvKMjvluW9qy6mNz1snh5wBgimePphcl1RtMgNbKaaOQgNZZLB1X8Zhgwirru4bdX54UeWItyF3pUfwJrqSoF9Ydar9PvIHqCb38zeMZXiDz9AjWE+rmzJCwhqV+6usFNDgnKrVJrOVx5hxo7ry/aKorQ6giIQcNxYJDPcfM+PkNPrJb/0X95R/mWUhUzak1+z/rQYPyJ7V1Qsq4am/7sebcnTayrEvrKY+v65B8IylBMmUBHtEHLcmh33VhNn00GblOgHXVRioQRiMtu/yxO6sVyz1ePbB235W/ZbMTURFQfedtaXo32IOi535UmBwYC4pNczx3QpRz742qGzcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j261ZSLhhCvpgiG1nAlLCio7x+otahcqA6Np7C4EkXk=; b=KicLnqNoxKpIllhlTA60xGT6ZaGVkY0t3/DCbP+p/gb//k95/mHRlKvC5kVVEhAVWJadhVElasvQE91VFde3MG5SM3yu08DNdKNLBQRv76aNPK9Jvo5QOrKJ39S2JJtnoKBeief40ZYvn87St+z3d5v/4awMToppmDxfjJBfhVY= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none; denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB5802.eurprd04.prod.outlook.com (2603:10a6:10:a4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24; Wed, 21 Jul 2021 13:43:39 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd%9]) with mapi id 15.20.4331.034; Wed, 21 Jul 2021 13:43:39 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH V4 09/44] arm: imx: parse-container: guard included header files Date: Wed, 21 Jul 2021 22:16:50 +0800 Message-Id: <20210721141725.23346-10-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210721141725.23346-1-peng.fan@oss.nxp.com> References: <20210721141725.23346-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR0401CA0015.apcprd04.prod.outlook.com (2603:1096:3:1::25) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR0401CA0015.apcprd04.prod.outlook.com (2603:1096:3:1::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Wed, 21 Jul 2021 13:43:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 324b8269-ad52-4e78-64d0-08d94c4d8b86 X-MS-TrafficTypeDiagnostic: DB8PR04MB5802: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:923; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hd0zwG44A4QKLuNTRDatWDIEXR6LNTfybQhoRfgoWgHss66tVZpN+xHw2GNT52v+J2uDVg1UcDLiUUHegpLTsnWgWIq6ion+H2W01cEweWcbPDBAq8B6IwUjeQaoCHE+65s4Q8KKuFmXxx0do/Xxcf9qJnh1PKZn/40MPWH/8yhNu04YuOCfdmsOBIAlJF1FC3oJJay//+83BEPCApNv0RSJdawjKMXaRgU7dD6CxMT0/vlDj33c9vMIGiSX2PYEo5Uv7BcKkqg/7nzerGPYcWVOcg3pf4U4sxfWaBYE4kRwQX2l8X65XdgEp4TsUxM61euNRH0eBK8v9YL4ZT3ooHVdby67uBP29XFX693i2p6R3Hzxr5jqtUXS9oIc9ELtGjwbJzEmjUNuynqFL15iNp3qJaqKBuHYA1+3lSmEBj8zs5CEOHjt6KZsAdDAvWRpLXFu6yW7vOvcQPViD/N/Xa3TkrrQ23EVoMJ/y559AAnjHx+nb6hHkL73KP7+EC2alTpfI3Nqtiiw18P7JYjUDoGdcJpaEQ+ksOYnRuUlMS/ZUOAF0C8NwH2/+772ZZ/i/coDZjuRx9xwl3Itm42iElmcVyGU4L6AEKUJLN34HlRDF179699gqP3EU795tmJTAHwuLASgyUxMZexMocUU4DezxIejxz6i/kxRV6A5fS4crh3UcjZa1bCR5cwkQb7TmmEdFYC4bXm79o9omxdi/g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(39860400002)(396003)(346002)(136003)(6666004)(8936002)(6512007)(4326008)(5660300002)(8676002)(2906002)(1076003)(38350700002)(4744005)(38100700002)(956004)(66556008)(66476007)(66946007)(316002)(86362001)(6486002)(26005)(83380400001)(52116002)(2616005)(186003)(6506007)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bZe+H0vdqTiHh/GrJGEYjYNtKl9rLEspKozoJWJjPdCp4ZXKuyq+8Qw5euuwbbDqZnDR69qUXyYx1Z46Lj9sgGfRzgfEzl+1kI8Bl3azSLDrV/zlE0kFY3cqpdd2CqPH41SuJ4i+qRo+IZoSf8e4KU18gWmuYZnS7BFl+xzrBly6cZl0xw6bZ84BWY+ibydXLWygj3H+LykSSpDMb+vnXg1R7zqX2eVrmEhLck5JfxR2sno0TdKejkLiTxIKFtjnAOpxNCoyb2Wnidr4xmPEsQ/BkgBIKsM/T6JDN2h5N643yRVVNnSyvUfMm4gOtmJ8gIL9rj86xCSzkGGkqTCQ9D9Yo+hHz0Vi0g6Xp1hXFC3rWiYdfn+1Txrw215+zuxp8stcE1AYQf2LBNgk9SqLPjf2RFM+Ls0CPO1d1TdHrcLeTlCqAt2o6UENr/Oi1lrJZlVD7nib/wmIYCwDO3Zqjp7ZDTr21/YjdKGW/sX7HpN9UW86pUkIXqsdbMIvl/7XuWt9/huoQQIXdvjkmVmakaALD/ONIDRnEzLb2KPbg7IGURKWk4e29FeKSZaJFtZeoj3/+tnrbsigU/pL834cgwo212EJQOcQwv0d7iouVeF2FZ2XvR4XJIdab8MNRIM70RTZFx8b7ZpiuHEzrqJJqoQ7KkVFtZBQWAUZEGkBC1f6Cfx1RaEjoP1u/9vEQiUE7+V0yeV1Cn3JHHSTSoQvOV1MHmzO/aXSG0koYsf96YUe6/lpqi0d0EV2qeGoTZ9qSxXNu/mciXPObMgEFtOiW4+mMb8lOKT/ig03fn0lalk5UsL0JdlR2fvLpbYT7dKMyCu08cCIJ2Nd10Umn5vmnNHBuIhNPD8XgpuCAsKMXXpBsaH08ii6hX7vobNtzZRP2bi18z1nPxXGt1g6b9We4GwldljNo/6xS1gk9YTeHEKLPOxV8oy1SRwtOOg+YF8/NxlBAHILJn1+CV/rl2inrxrjAzeGoDgPklI86awW76Oi5wkrGB3E6trdMQe4/YWkUdOxrhlREW75/wCmbej2w0F0xNwrsjry/oBshszBRRzpbPOGuN89uP5vWXQc+xCl2x/Y3deyaUp2CAuX3er9Fq3ZpaNyzHWROKNQG/g3umIRlFlvukbiQlwejP9Je/lqJmzBt1cW7/+1CjrYwbKhF2laEkbC0JoHYziulOslCwwctAq7HjRxHmLLMs3Vcg1eoNf4oS1C+vrEQ0dloFa6b4qDJZ8mAGT82h9NeZmNjg++PSO7f40B2qfXSxOTYyHjJPwdbmPeVXH/eedBpMJxYNwU7JcbUlH/eLWDSubjH3cyaHezlW8g/Zhh60+hcQ2L X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 324b8269-ad52-4e78-64d0-08d94c4d8b86 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2021 13:43:38.9787 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Rqh3DWAFPMmpVe2BJY9YzaPFtbbduaRJl6crQ+YWj2ZOcoHr7hjkjaULSbCB5GFuWMASiNf3QI3Gr+fG3SBZzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB5802 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Guard included sci.h with CONFIG_AHAB_BOOT to avoid build failure for i.MX8ULP Signed-off-by: Peng Fan --- arch/arm/mach-imx/parse-container.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.30.0 diff --git a/arch/arm/mach-imx/parse-container.c b/arch/arm/mach-imx/parse-container.c index e4354bf930..039a4c7303 100644 --- a/arch/arm/mach-imx/parse-container.c +++ b/arch/arm/mach-imx/parse-container.c @@ -8,7 +8,9 @@ #include #include #include +#ifdef CONFIG_AHAB_BOOT #include +#endif #define SEC_SECURE_RAM_BASE 0x31800000UL #define SEC_SECURE_RAM_END_BASE (SEC_SECURE_RAM_BASE + 0xFFFFUL)