From patchwork Mon Jul 19 07:46:59 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: 479812 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3867581jao; Mon, 19 Jul 2021 00:15:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZx6+MKxyRSeGIw/z+awAq7WBYedcBORwCwLbfRtpw1soUQ2RFyC0dvUGdcQSKdWMjkiU/ X-Received: by 2002:a05:6402:615:: with SMTP id n21mr33429919edv.139.1626678931055; Mon, 19 Jul 2021 00:15:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1626678931; cv=pass; d=google.com; s=arc-20160816; b=BMYKF3f8buI7AeHjP/s1ZwVaMjM9eb1iFDOCXhSFEdH9IGq/R+19zHpAspmsf1jzuS S6068/h7/gfXAv+bFIeIMbj0t6FO0vECqU+9voINvxNwqFVPCZySj1FG1FsRL/kAh/Xr jZipeo+wt5oHlIsG9gwaObl0Gy74l+ei4H+AlMwXkrVCXZesyXX6hNQas67g+GoOf3B2 4cCsQVnlZSHcARpMD9shBSA8IqyqonnL38hI0qxSds7qlk+dK2sLdOcCa4JQxJIPwW5u 5AeUiuYJXr34zqTCm5Mb1LwfMEKnVSQ1eQEiGMlaoZ2CKJM1fsBx3VrnjgfmtJDs8aK1 I/FA== 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=b4FJE3Cza45If2lMfdjYAvMJwH/IWJiT4oQRIYpxOfBF1FI3CPzTJmAW+P6p8vfX55 OUx71ZhQ03TVOE9qUNNRQj/g0XfKOgZXKDo2lvr8tvKMVI7Gp+wr+anqeaaJj+ZmWZ9w BtOyVW33SX74Xtx1EeBMIP2chColQFzGPgdSl00hlVF8qS6tMvjgiTK8BDkc94UrX4Bl lAzWiFThc1xb5Gh3Bmxo4/SiS3/oOTb9fl5HiW3b+EaK+Titg45hm2Sd44U3XC0Y2zqJ DxaidV2LrGY5xZXd3NwQmCPcBc5XOTXqdtAwl9cnoGSw5mSWWBnK3EJYbHG4Tgm1LoPW hc9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=U3FSICHz; 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 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id v16si11248151edc.281.2021.07.19.00.15.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 00:15:31 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=U3FSICHz; 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 85.214.62.61 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 A861982C48; Mon, 19 Jul 2021 09:14:27 +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="U3FSICHz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 78F0382BFF; Mon, 19 Jul 2021 09:14:03 +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.6 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 EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20609.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::609]) (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 D215682BF5 for ; Mon, 19 Jul 2021 09:13:57 +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=EwLw0nlmU4naSAqd8sRP56LNTzeFFaZ6CUlsqI7m5jnsvcNZu4jkT/bnoXmPHXeUCUpCzXqmPyrPJNlloWSGVYCcSfi3BYMGhmYmQp8TcDJ2vilDEJnYJ+Am1jsnqWkD2TzouC6NsdmuAA3LnKohpxETLr/Iw7DrugcheP8HvpirwAJFYmWfeDBm+v5nSwwKNyXe4a5Y2AoVRJZqujFjcws0cfUsEWmEVFx3Vv2Es+E6HufSq/d5bzTIn6RMnYpqiWoBC0S3Jk8dAAbhkvj0CAoYf8lawhzne6Fe0oDYpi4TpuOmLyz9LFnTUn1CjGMN8QjePLQggjx3OuUGp1jN+A== 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=GVx3b5CScx5oXxuc+YGd8D+i2isMKPLdh/muwEu04Ul0r2N5w7k1SSHckqbdKh4PsKvJk0DKEyM4d8ypSrZN5ssVZKxWY6kl0LUP3W4plJoXVrtloOlqKEhwmvP9lbOkFUMl5Q7spksUXTMAHkG84dHGJjUmIGC7//7zpc8n84fFINLBIoSeo3LjFQ8/d+bkkhnYnk5n4XbHXZp2X0VOAt5uopHEmiiAjrG4dGUssHcjvgxpMc/Zw6WDLQN1z5a0CujCP1e13Nw4es6J1jmd89aKVPHp9Pe6sKubTlgdohyylYBBGB+whqhIhAk9gHH3okL0hzNmkmtMRy54tuJPuQ== 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=U3FSICHz8HFNbOR5K307neJqnqauTI/2NWuk/hLadJcbYAs1MOSZu9q1hNosDvQIYr8Gw9hW0Sb6LAZ0eZQYOrqoAbVz5xpaOrakCbciejJRQY2PCDt10CZSocfbSnF/sh9DIVgSkEWfw7uE61tHUGLNvEjQ1/uUrTzY+v3k05A= 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 DB6PR0402MB2933.eurprd04.prod.outlook.com (2603:10a6:4:9c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Mon, 19 Jul 2021 07:13:54 +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.032; Mon, 19 Jul 2021 07:13:54 +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 V3 09/44] arm: imx: parse-container: guard included header files Date: Mon, 19 Jul 2021 15:46:59 +0800 Message-Id: <20210719074734.29170-10-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210719074734.29170-1-peng.fan@oss.nxp.com> References: <20210719074734.29170-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SGAP274CA0006.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::18) 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 SGAP274CA0006.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21 via Frontend Transport; Mon, 19 Jul 2021 07:13:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2f77b176-f03b-47fc-913f-08d94a84c4a4 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2933: 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: AZYKTjeGuPd6K4v4MrRCv2zMNHyatMIrC5TYozRWtcho3VZaPkep0WVAz+sG31pSvLFAl3DsX+BH8KlqEHBA0wqFlyexI/Zd0esLZaeHIKBclfH5fQ9CAkeBSHwAdG+rskOOUjAWnyoigygKfXOy+IYX49l0ziMjgs/TitGWSJxGXZqit+tVvpoZMLwhfvu/448ab0lo6PUJQ3YPbKFiSDbp7KGxnKKkxLGC7G/oIGIRoo2bG0K9EKqoyvC97Jv5AEw6J4HNOdtWICKNM0UeFCGeW2Fh9c7NBS9DRgNmxJh7eSGAGFiQ1cxJBYXujqqabsiKGQrfcJT3yZisq5kutJ+PtjMprdVXrrJ92gu33DLlpxyWullxjXOnGOwB4lv33XJOKJpCzy2+xgy7eavM1PFYPEmcIpqJQ8Q99dlGKusAdMGVdODAoVpqVKj3IptnA3jaePYU5D45VOtsRQXBC9HfpPCNqemu/Lwrnl1bOxkm8zEUZldC8gzgC46GQvtucSvGCc71uSg+w8a72Ft7R7+d7oXtkgP0S3/xiXV30M3VjpeGnWhT87FxQb+WW244bcAsMyGVjpCbwyL+EdeBrbSxsTqOXZbBX1oKwakrK0cwSsv+IxesP/I1rEnSfEXXEphanvFMHYI3gaQmrJ03Ws1ElxpMd1HG3O2xJ0a664TWx/y0YCOiD4/TmnnmQvRkVnuM4LUQqIS/Doo95P9ZiQ== 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)(5660300002)(508600001)(316002)(956004)(83380400001)(8676002)(66946007)(6486002)(6512007)(66476007)(66556008)(8936002)(2616005)(1076003)(26005)(52116002)(4326008)(186003)(86362001)(38100700002)(6506007)(38350700002)(4744005)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 111ikoHdgdvmf5g5pUTRdhrsUQqP3whscIKWh0YvMcXjmivzVFsvsbM+P38XDFjK3e3J8MjpCfkJlosAlzwHCohddUJ7Ir3sNPXhmA22r02aA1y9DgncCjnKH6RYQewsrj4TpY5Kn9P/34sNs6q0a5jDRUBZLCoXnocG3/wmDNkwBM7QWYJ6fEptYnPsuNTQqHIMosQrsea6Orrx5Z9b153R2eusHPskR3n0h6WB05V0J/vkfkbr/3S1nj0rwMM6jbA6av37KmE3gQH6mxIj7KWjg0Z4ML8pjJZk8+kJ+1JL6GxD1AgIrtpaULQ4d1cPfjSxG06RrL8ux7rUUGqtQicmdRI6Vi41jrrq2rtH+SZXx1/ccPdU/0LM/E2rxjcdjMP9UYG3cvblSXxiLuMfBwnWHbjqOa25+ftl6UnvCLTzt8UbzL4m9jIpb0lQ4efFBUL0nX8k+r26IOai+W/15mgHoLqHap04mg7RjMXDHCvyrR//PLBqOUOYhwB5X7bQm4FQnmhT9cvpKmWdOqkovMDeFfh16qhmRKKava5RjgStbN5OA7P/P0s81WOOPoHMjMMlC9z0YT4HC+J1YvKZDtjB9kbkq5F2zST898y/vsD+iS9ip9I0ZnEQm8FVepUqz2FmZty20fWbIq1PvrrTVyA4Pm1C6EWLh1cEG4J1JxsNTIV5WiizbPAhqseXdHaaBr5XmuCF5FecYI7oS8nowb1309WEmW+Z7SviAWPB4DrmSk3TXxZQ6EdGpp3uCKGmWKO19HKH29/Zw82Ksuucy5hHvzP7vs/iMDqGJHnaUk5Zzw/GzzDYnFoItOMOsOPmWln0RGPCsmLrupAVD8r6M9+tzf866j+3JxrygsrZAsfLfMym8ea7Zepi4j8hX8Pl9Igg5UA+mvTYw2hDcnPYY3E4NuOuVIewFYiQRFmkMyoi7ahRnUCqgambZugyVHtQBaiW0uazDQtMi9VOsHakvoX4WxGAdTAFs04kkL0qc1UQnM+o/FYbHuDevtlXTWoOv6Il+OPpm/TNm2+5eUDNO4gX0nhbXItTZiCPscE5bqUgFkDRGPsZuNs0U3LwcW0CSomtK6Xvhnc0MzRP/Jv1//c99wyL2UdkqyT7j0+GLHNUZ83ex1DATgXNr0z5nl79QlnhFgsxUru8c1gi7nJQHtLez/JRfU1xpmKZ2u1WpgvxcCAnouF5CBNEuIas3BfF5Po54CoKk4K8BhBr1hiPAfviYgzR1lnDXpgLazhb3i3dXI5fu9mud+/D/5MTglkmxGjZV7Fu7HGsgjz4gUr3FMmJOZqLMfuieqB5YnZXMZYEHoAAQPC15RnkchVFaNS8 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f77b176-f03b-47fc-913f-08d94a84c4a4 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 07:13:54.7912 (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: nxbQQVzuOiU1RSV3GFjoMCOgoofyj4GEsPLaslR8rpTlPuimK97FxLlsbddPGwXXlGrtDlOXXp8Mfkg4BZgZUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2933 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)