From patchwork Tue Jun 29 02:32:03 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: 468274 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4505546jao; Mon, 28 Jun 2021 19:01:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxruGdp3Iwlk2T+w4/FJSyf9+KSjENITmRccUbKMe3iu+fObI1TPmdbffvxmRnyYeDXUgaG X-Received: by 2002:a50:ef12:: with SMTP id m18mr37166429eds.285.1624932069607; Mon, 28 Jun 2021 19:01:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624932069; cv=pass; d=google.com; s=arc-20160816; b=wNfpNLbUZTsgRYdNRHa7D6Y6BBj7WOusDT/cvCuMjYgg+biVThWgZgUHqrvrBIXqKo umOV3g1ke4l4Q2TWnhtDJTH6ODKYciLJc3GetUMBdvxzLwZ0TLCTOg2avEebYB8wOsOY AD99zBL2bmBEFsfCq+B+HKhAvdXwKWTCsHvnsnGqsyyuzrpKkY6pMPZWE7IXhnKqrzr/ k01aicvCj2JAalasgE3hrMXERPihhPyh1HiO9GERWQLzns+FUeSmh1W9JYliM9iZQyG6 9/e8T1UyKxYOxigIbZFqEGDuyuGTIQtiFv92TVQoPb1PpnnxBLNW0DE46w3WkSDgjZDl 2D4A== 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=zxU5DxB4EEglBdw5hk5sfxUw9LPJOLNZc+QmLeFsdKOR4dDqwmrJwYVwssCtotYQxl A0f8cQ8QkH1q3Z50EdK+jJrV/B0tD5d6RucBL1Ncd2kmz5d9ECINUGA0Ej6jvXyaxL8L jyY6YBziiasfEhAKksZ7rJoUZjoXUoW7rQpvm+V6lgRr/Rbo8C0xjZPH/kX3PCV0D1oG mrJqMcAehB0pCsZdEngIdbelfqOfkiHI07xCnW1oZnIyTQn46HnP4TuQ05AuRhkXKPwi /2weetfsSSI7DInXKtkFM8ohljOmspqdQB3g1BEF86WLsZC4NvAu3cIigA88PnIk6ctq vHhg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=HPgP+57O; 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 s18si18349181eji.655.2021.06.28.19.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 19:01: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=HPgP+57O; 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 75C0C82EE5; Tue, 29 Jun 2021 03:59:48 +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="HPgP+57O"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0710082E73; Tue, 29 Jun 2021 03:59:40 +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 EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0613.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::613]) (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 E8D9182EA8 for ; Tue, 29 Jun 2021 03:59:34 +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=ZZnDyvtd6+txuRs2dXiy6Awzi32nsiHwQrCD5A5PNJz7h4FQ1YIj2XVwXRxdTWqqYWo87LocTCIG2fRVz+1vmy+u7jxZgVgkZ7xxLgr/IukNul/HcE0UZu3NBMGewHkPBGAKPiracE2bTqkV2xy6ZrXTpBM9BAuqmRmp4S0zhvkgz5mHu5BIDYgcXohfJMDl84fudwxyfhEDSO2WdpsP4DgyYQZls3ueDQZLhjQprMJp3PlGyzoEV/waZh7juBnVvhKeUda1vSVb9XRpiNuxJ1P0ijy/wV4nolMhXUyio/yRofkNCFdL5ZrQ3Q+9HSONKO86jEDr2TUIDc9KSieeXw== 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=H88mHy4jR9nAZco+bHYWtmS/538Af3xwNMRAh6n8Xa8NK0Q3t0MdgjfOd3Miqab0GVRwXYoSIyJYc8Trb11Uv80GNKZNqAxn4TxRAiDFxlE+v+GSH3w9X8itxx8pQ7pci7fdKnzENvyrnbT9J4/00uysQluUccRBM4zgeCt4ZbIbPaAoiPeniuZdU8vYmwCmtiFSpgcmXkLqqyGlbICyxFcTfgvAVkSw6O7EVHtcYqXHccuHCfHps708mJ/DFntdauvlN5yTIIga7HalUbqCGFcX3xhS2ZWm8Ed69IYxDnlLpBM9FFm2dQCNeDP943txDR/8+yQqdMYf+gA4zStHzw== 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=HPgP+57OCOvocxhi0N/Kac7CS8T8Lyb7B7isspQYcYDtiHitM65MDYjZ2LrX+sCO/8khxGIhSwn+3gZZQd2rtBmDRPj0PVDiqrO94Cajen+XGq/t7dEZC5R3NhhSZOlaHsD5oqrKShVcl0CpQ4YIhNs8muQ5UqMA181YnB8VPrY= 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 DB7PR04MB4633.eurprd04.prod.outlook.com (2603:10a6:5:36::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Tue, 29 Jun 2021 01:59:33 +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.4264.026; Tue, 29 Jun 2021 01:59:33 +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 V2 09/46] arm: imx: parse-container: guard included header files Date: Tue, 29 Jun 2021 10:32:03 +0800 Message-Id: <20210629023240.22394-10-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210629023240.22394-1-peng.fan@oss.nxp.com> References: <20210629023240.22394-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR06CA0088.apcprd06.prod.outlook.com (2603:1096:3:14::14) 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 SG2PR06CA0088.apcprd06.prod.outlook.com (2603:1096:3:14::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19 via Frontend Transport; Tue, 29 Jun 2021 01:59:31 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5a5ea691-b0a8-4b84-fbe0-08d93aa18a38 X-MS-TrafficTypeDiagnostic: DB7PR04MB4633: 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-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3iL2mNg5V2IVh1EnjcpbjMiRVLwEEkrgyRmLdHioDoY/nRcyF6P09/wRjb1ahWpXjkjjvv9Zsu0hEhReSuy9UfpnRYfHlamC8iYBOhELiXXjlBdvnh3AP7XUg5nO9aGbfaStT426ao2Ve/M28RwXgjYTbrbc2lGn+8D7baPvrZI3MOv7ord077jWImu2xdooV+QCXhkL5k+lY3LkKjRIrHkbUGCSCtR0W2dPMA82ya15Ww+Q4w+11CfwmvJX9WXalYfZxiLgfzxzmMZQgpROQJBKd9knTwdLN/I0/7IG/dj1EruZIjZZz0Zn5YHUQjaHKUj8F2lck7xj4VKyghP6s2ozxZDTUujD7EV1F7FiiaL9EQWbAUMk9elJ19dNYvZ3LMgchteduoUOrhIPQ8XeSWaCdDPiPgnNPxVk1x4TrcAQZ507YBgvqfgDsm5P+fCg88g4GzAkOfxU9AYlBEyjHTtXE+nkOL0+hekv5unZRR5Az1Al/AMsp9/5Mo6omqixJlea5fdV+vdxAb0Qiv16vIOEQl7FQ6EQXrdf2coBDRPw7m3di+k9VmH6iZkNL1IJx/ZUHQ/5j7wApjn50HJ91hhmeEVBcWhGP+mwEsHM3HYKZ9wzZGxV1RlTgpDYu/xrL5AeH9NMRoDikJbOjJT6O8lPGW1moh2vD5W8VfBl0TpnWqCDznhv4sO4GMsqjW85OUtjWidDquAWpRt71JPEPA== 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)(346002)(376002)(39860400002)(136003)(366004)(396003)(16526019)(66946007)(4744005)(38100700002)(38350700002)(8936002)(6666004)(4326008)(26005)(83380400001)(6506007)(1076003)(186003)(8676002)(2906002)(478600001)(6486002)(2616005)(956004)(5660300002)(52116002)(86362001)(66476007)(6512007)(316002)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8f0F3Ap8smoBK0c/CgAvh3QcDyPqUv5gqSVQD9i6v2d8Y4rmFUX0BI8JJo4fAZjXXuNlV3L6T22+VVW44L25oBmtvOJXqGeInKTzDw1sKFAACTKRdVkbpBWfWBfbAaA7vXSuXHbg1mGn7iwfBnehWJTbsjZqON2TRaH3z4RF5BHZ80jbYIOgQ2YrFFrKfACPBtyHo/SE4ty+sLakCi5MUm47G7MJLngceMBPPW+I6vE57CMgFABlU7Ys6Vw6nby8e8TrnVDTFpVbZtzitLNzjoHDbdmzmdQYJQCg+H9XSUAQWSpiBe//BDvBix1/pJi103dZ0cnOG6Xbq43IQmPlrKPxfQClmaKIxLfzF8B6PSx0pknnbqzG0b47KbDM4By2jTluzJyZGX35XVHmyRSpo6YxUcnzvD8xSx3ml34IU26pkvJLV9U6LlbfWzM0SU7RCyQTwZwx1DnDtR+y4YrvVHBp2hlePjgskjZE1qLbcdL4uspK0Fs6LvQKB9CKc3fD2m9iVWJ5TmM9HdjRqx1GPh19ATcMYR3UkBIWFEFlI3n3LvmfCRkf7/J8hGbEq//BBFvirppDNshsb0dV9Zd9vDRhRhNrff68d8Vk69Csxrrj7dms1O80M+X2zW6BqxidjI8R1wIK4m0Z1isUqh95adhlbmTPrnDfVse8wGWHAywK0hgSxwHdrOG2ee+J7x/xcjQvaXTavsf5yz/2PdGGFQoK9F9GD+YVFJhvePemQeV1MKfqmPTc71xrDvGTgKG4xi0fFuDtEY6DFUiS+M8Y8zsRawdtIS1i/Lg1O1q+zcGMLPIiet0Yh+dCX0tI4hZb0bBx1Wj5/lvXWgmBhD9+LWfMg/dNX8AbGe284jgxNrFRFrB+r7wrbH8lRGPigLl2h2WeK33To/BH8Hm+uwdDtFhkPRCv1tFCLjz7gXbzlPaXjBazB+DOH4npNtePapRNnUnD/KUEq7hxGuEAt5HSkFEO3KC1naQIFv3aLP9m/qae/rbc2uFMAesXpN73YlcCZA9/m4+gN+EMf1Cj1ZJq+gTN4+eTweZw6XtoiLXT2japEQxEHs4qAJlU5YhBJZMzWcuM9vd9iqTK4u60Mr+rcfRFX5xTyh+kekKkKrdFFbH85XS9P3nrEw5T6zi4xxkPdX6gz+v4h/O64Zy41l+o8ZXXV6J6RVaNrOHzdy4J65JUa7PZovN2NhaIOnItiV44lgd3yAvl6QBY+rzTkRlBzwNqHjJVUv8R3bglH9xCCemH0BmGzAa4bIzxEeOBMDCuJGNdQL7CiIIstIcS6Nhwmie0Bps2SkXC0fwkMcaXPRBd68kBRa8i+eDTAJ31OSFU X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5a5ea691-b0a8-4b84-fbe0-08d93aa18a38 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2021 01:59:33.5960 (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: pFp582lvB7+v0u+tc+O144XOBE8gM/gQ3z+nxXaikJfJiub1DmA0JvObTCvwjY9ooUthAV04+KvdhLTBTgYz4g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4633 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)