From patchwork Wed Mar 1 10:33:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashok Reddy Soma X-Patchwork-Id: 1749916 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=3wpaUxRS; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PRVxX4wwWz1yWy for ; Wed, 1 Mar 2023 21:35:28 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C9B0085C2A; Wed, 1 Mar 2023 11:34:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.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=amd.com header.i=@amd.com header.b="3wpaUxRS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5B8FC85C12; Wed, 1 Mar 2023 11:34:25 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on20600.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eae::600]) (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 894F985911 for ; Wed, 1 Mar 2023 11:33:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=ashok.reddy.soma@amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lEO982H+88Q8sWH1Xn9Q9mulPz5O0EwnOsj0dVS55XxPxHtljl+1lPxv85w3s/RaB9C1xur1Shbrpp7YG1gdDxAZ/3jnpSIs4oByMIOGsij/4UiSPKAy1USLFsi7QMinrF2F2h/ZMJgyNdihaLQ/LsECGuL8LE0djvzSEyxbB6D5ubrdAqS35364FflsPWJqBkeaPN0f91cer5veGyCwPMeHEFFPXfujJpWeiL1aMEZdiC/PesL4gbCYQ47v0ScaqI4JPeDkfYhnd7p/PcIxSHT8/AMQ4XyB5F7cwLmaYDd83WxxcNqoAug5lkvh5YC5VSX9WOFM+26HcuP/Vzpycw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ap1W4zeW/AoGwisaBOqMJL6Ja+38hosm3PIXOee9v/8=; b=ajCnd2/YOqpCvEZO284hBAVwBf3a9rexSLZ5cPOfXeci4bNbv2cy38Eh3IxbqeQzFqSBXw431wFwUt/qVs5L13tyd6AWK8zePJvC46ASwbcUz1xBGemDQvLb9X0my0l68Bq/wUNdjoCv1kOdKeWMDSwhvdoUo3AER8aPmEAwqP/IcNCspoPtStyzuXyzyRMKGcwrGea2K/4BiN6lxodfyNVwxrwxbAtAmsze/B6hhsMJQDaMoNUpvOWhNFFqCa9g3/RopQEPMxPIoB+2iSZpwR1NccvrzHcy6vrgg2mrPfRrGDl9EmyeLhuWNuWfyQXE4otWjd0Z+VDEVhmtEcRckg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ap1W4zeW/AoGwisaBOqMJL6Ja+38hosm3PIXOee9v/8=; b=3wpaUxRSnuqXVEwA7yUnlg0z5CDfr1Dg+gvBq1QX9fC08Ha9xeTObLAUcU0eCxE8d2YJwzDtyYlmJF5CAHJW+F+n6muEVFc4hsfAwpqyiAAsn2rvEaFeBMD2ghcKHwkGtq7E/l8StU/+X8kIy97g6egNd39wVTqkzb7Sz602k6E= Received: from BN9PR03CA0117.namprd03.prod.outlook.com (2603:10b6:408:fd::32) by DS0PR12MB8344.namprd12.prod.outlook.com (2603:10b6:8:fe::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.18; Wed, 1 Mar 2023 10:33:52 +0000 Received: from BN8NAM11FT095.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fd:cafe::78) by BN9PR03CA0117.outlook.office365.com (2603:10b6:408:fd::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.18 via Frontend Transport; Wed, 1 Mar 2023 10:33:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT095.mail.protection.outlook.com (10.13.176.206) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6156.18 via Frontend Transport; Wed, 1 Mar 2023 10:33:52 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 1 Mar 2023 04:33:51 -0600 Received: from xhdashokred41.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34 via Frontend Transport; Wed, 1 Mar 2023 04:33:47 -0600 From: Ashok Reddy Soma To: CC: , , , , , , , , , , , , , "Algapally Santosh Sagar" , Ashok Reddy Soma Subject: [PATCH v3 1/2] xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write Date: Wed, 1 Mar 2023 03:33:33 -0700 Message-ID: <20230301103334.1455-2-ashok.reddy.soma@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230301103334.1455-1-ashok.reddy.soma@amd.com> References: <20230301103334.1455-1-ashok.reddy.soma@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT095:EE_|DS0PR12MB8344:EE_ X-MS-Office365-Filtering-Correlation-Id: f231a102-afa2-484e-9ba4-08db1a40737c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EWlgBVvWMZejS1+ivLzYrwSEbTaY7e2efziqa79F7+3IPXa0GL+iH5dl0r5xba8F6KvSX6r28BlnQY5SGBHiayj59GjNK6NsgMv06DX7mt9gyO/XQA6+DVJ2xqg3MFIWazIcHtIQ9Wf0fXT02hWCq1qbVwzwUpicc+6kNu9PxV8yiUWbYfkANUq7ZYu4MnyYNOyOIT3htPiVHp/+gKE4DMJLyaO50TydLmSzov8AXz/pvxmpIV8cAzM6pEshQkrfY6kfZTHc/+ildnPkyqNBbeCGiYXf4PmjuStO9jaex9ZrkJy91SjNoaR3GrVNaLXoaJAHpbVlB3ROP73qYCY7pxaqichahhmzeae4LrTXsk7CBJvwyo/6Oj7Mjs1l9UQlZOtZ7HuVok08dcOH06ZifkuBi/3I8EK1YgUFogNyPUUGaeHJus/MXOjzP0pBAmejegD2IgZjusRmfSyaLKyIDWLFEwNEgzThjJW8QvhiCSQs3f6Zs/bYHI3vY+9U91z2HPzMBLF0t/GDUwFbFufO3vPMvYJqiULbiNSr7Sw2kmDZ7WwCwrKo+rSYbyPqaZDCAaDwReh30GJmT+U73iaAe6xTh242jLABRY4wEk6wA+HWhcPPYl8irjPx+kfnADhuEJjWnLENFYRC979Wh/UXd+Fj2JyK2FMXPo6ZqVb2Tu/asdNse+XjbIItX068HDLYaWAapl5xjxBv7DqICEbMy69U1d3RSGbQ7nRcQZ9hVag= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230025)(4636009)(346002)(39860400002)(136003)(396003)(376002)(451199018)(36840700001)(46966006)(40470700004)(103116003)(82310400005)(36756003)(54906003)(316002)(47076005)(336012)(426003)(478600001)(83380400001)(6666004)(40460700003)(1076003)(186003)(26005)(8936002)(356005)(41300700001)(2906002)(86362001)(7416002)(2616005)(5660300002)(70206006)(70586007)(8676002)(36860700001)(6916009)(40480700001)(82740400003)(4326008)(81166007)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 10:33:52.0363 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f231a102-afa2-484e-9ba4-08db1a40737c X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT095.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8344 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- (no changes since v1) arch/arm/mach-versal-net/include/mach/sys_proto.h | 7 +------ arch/arm/mach-versal/include/mach/sys_proto.h | 6 +----- drivers/mmc/zynq_sdhci.c | 1 + drivers/spi/zynqmp_gqspi.c | 5 +++++ 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-versal-net/include/mach/sys_proto.h b/arch/arm/mach-versal-net/include/mach/sys_proto.h index 5bba9030f2..a20cf02712 100644 --- a/arch/arm/mach-versal-net/include/mach/sys_proto.h +++ b/arch/arm/mach-versal-net/include/mach/sys_proto.h @@ -8,9 +8,4 @@ void mem_map_fill(void); -static inline int zynqmp_mmio_write(const u32 address, const u32 mask, - const u32 value) -{ - BUILD_BUG(); - return -EINVAL; -} +int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value); diff --git a/arch/arm/mach-versal/include/mach/sys_proto.h b/arch/arm/mach-versal/include/mach/sys_proto.h index 8e5712e0c9..3f01508ecb 100644 --- a/arch/arm/mach-versal/include/mach/sys_proto.h +++ b/arch/arm/mach-versal/include/mach/sys_proto.h @@ -13,8 +13,4 @@ enum { void tcm_init(u8 mode); void mem_map_fill(void); -static inline int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value) -{ - BUILD_BUG(); - return -EINVAL; -} +int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value); diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 8b559d8a7a..9dc310663f 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -14,6 +14,7 @@ #include "mmc_private.h" #include #include +#include #include #include #include diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c index 335b458cb9..c4aee279aa 100644 --- a/drivers/spi/zynqmp_gqspi.c +++ b/drivers/spi/zynqmp_gqspi.c @@ -183,6 +183,11 @@ struct zynqmp_qspi_priv { const struct spi_mem_op *op; }; +__weak int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value) +{ + return 0; +} + static int zynqmp_qspi_of_to_plat(struct udevice *bus) { struct zynqmp_qspi_plat *plat = dev_get_plat(bus); From patchwork Wed Mar 1 10:33:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashok Reddy Soma X-Patchwork-Id: 1749917 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PRVxy3Ms4z1yWy for ; Wed, 1 Mar 2023 21:35:50 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A78F185A79; Wed, 1 Mar 2023 11:35:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 535C78575B; Wed, 1 Mar 2023 11:34:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on20607.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8c::607]) (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 5780F85A79 for ; Wed, 1 Mar 2023 11:34:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=ashok.reddy.soma@amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lWAJhBjZV9ZI/hB5lxpQx8+Xair7vxYAwpTZOYxOMr7uKQdHdfP0TQTtyQWICGZpFXZzitxdh+z3JXtE7te9z9lAIlZWY/LnDasYzokRUv9uO78pNucPom0fOzVclzyfadHw/csBXU5pofnEI9vzhvuvInJz4psBG2ckdgq3W9t04RmrafY3iDJ0zz2D+5DhuiWR+P8ENakAuKfRyI0NnmTZiBWscxpbsFF9lGjtyOZkHcqL5S1KRVw0TtwutlNdxhGDoD/OWLZT2TPANWaxY9zWQVcpnRNy9ilL9HnNqfgdbfgYoZLuMihj/CGFUu4DhvFigVF3a+I4LUrHrf2O3Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=dOdNQp6WsdQjPiosGfedaytCmLs0hSawpXzltRk4EfU=; b=SoOhF+Or8tRitA4Xs/UqNk2k8E+a0Rwzbh0oo4eBnrvbzhUl7j9DVjvATnRigUh1G1zTlqI7SQJxiwOs5tBRjLY/jMn89jGCNCdQ+X/25lQaLfr/csF6ro603tZiSC+Rw6nGa9dRU5TamC9ocWRAdvtR8YiojtYcrl/A0XS6RdAKyUCbH/YoB69B7+nNmcCa6kXoqPXGzyWaB7RZt9jqisP1eaG+frAnSRrSDs7V1VKfkH8VPoG8/SJDxCGa/aHulNKW4C0Xm/9eDGWDWZc4HoByJEW7YbKkxNUBt64fUSeHWpeUB9mdcFce3Bb3Oj4TduKUlvAuc4PqDCUsOQ/O2w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none Received: from BN8PR07CA0022.namprd07.prod.outlook.com (2603:10b6:408:ac::35) by IA0PR12MB7578.namprd12.prod.outlook.com (2603:10b6:208:43d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.18; Wed, 1 Mar 2023 10:33:57 +0000 Received: from BN8NAM11FT076.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ac:cafe::bd) by BN8PR07CA0022.outlook.office365.com (2603:10b6:408:ac::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.18 via Frontend Transport; Wed, 1 Mar 2023 10:33:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT076.mail.protection.outlook.com (10.13.176.174) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6156.12 via Frontend Transport; Wed, 1 Mar 2023 10:33:56 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 1 Mar 2023 04:33:56 -0600 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 1 Mar 2023 04:33:55 -0600 Received: from xhdashokred41.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34 via Frontend Transport; Wed, 1 Mar 2023 04:33:51 -0600 From: Ashok Reddy Soma To: CC: , , , , , , , , , , , , , "Algapally Santosh Sagar" , Ashok Reddy Soma Subject: [PATCH v3 2/2] spl: Add missing prototype for board_boot_order Date: Wed, 1 Mar 2023 03:33:34 -0700 Message-ID: <20230301103334.1455-3-ashok.reddy.soma@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230301103334.1455-1-ashok.reddy.soma@amd.com> References: <20230301103334.1455-1-ashok.reddy.soma@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT076:EE_|IA0PR12MB7578:EE_ X-MS-Office365-Filtering-Correlation-Id: 20dfdd97-bf82-4869-16a7-08db1a40764f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 56yEjC0lGO97kh5izJjOgYEVh+Qd+XVHoWDmeWw2O4YiCwCaH0e21wi+GXf/32jLXGBjwcC+xZzQz7EzVXPqXOp7BgqzImMFOuCRvmru7PrhHIgzErHgjbrTBRjAPlisJPx1V1yVf2F1QIsNsfiv0gXHavYRHnl0cf00HrdJQhah3Cune588PbNofanw7qdfKope3t8WTgQAbaHht8PX9Pb3U7ZVNPeV0Wys0CICVX27uM2WnR+m68guntEWBcCrO4M8r28sd6H5SGJoUBPtIQIMXXnrsrx/rTignR7zSbqLlYrNqwl6PVnQvu8hwpFx50Zy2KyVBWRgSOubCFReId3NcZGaZtKhDUZVQA53nZA4SY9iLNtQhXQOxxGhnNq+NWWzq1JTaIlhmndEa0mEAEURAmiiRlQ3mxAgLEi0AuzKXJg+DRfZkP96QW+2WVW+37GlKfKMBooPdFtJmlIO0jC6sG1iWfFHtG3G93/kw99RFY8nWmyYWPhnzfwtnZfSEnPjhmBNtVdWAllMDPiywyddJEp1pqsqtqOJdDEoVdacdtELgrqjgWh5DTEsvO02+V32qfGmnOz8ABhKVQuTNvWNqs+kvkY5/sdFBT8N7OBlDD1EBzh405aS5ruYYEZB9Wh8eF5qPJuPCObPwe/SDLJyzQXNmBiNLQI239GobK4Fuu2mAqhW8R3PvGgxv/ms7DSF1Xf1tpM615RR3gRnnEDubv1eqtzhXr4tuqWvDFI= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(346002)(396003)(136003)(376002)(451199018)(46966006)(40470700004)(36840700001)(36756003)(103116003)(82310400005)(54906003)(316002)(426003)(336012)(47076005)(83380400001)(478600001)(6666004)(40460700003)(2616005)(1076003)(186003)(26005)(8936002)(356005)(41300700001)(2906002)(86362001)(7416002)(5660300002)(4744005)(70206006)(70586007)(8676002)(36860700001)(6916009)(40480700001)(4326008)(82740400003)(81166007)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 10:33:56.7243 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 20dfdd97-bf82-4869-16a7-08db1a40764f X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT076.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7578 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean From: Algapally Santosh Sagar Add missing prototype to fix the sparse warning, warning: no previous prototype for 'board_boot_order' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- Changes in v3: - Replaced xilinx: zynqmp with just spl: from the commit header Changes in v2: - Moved function prototype from sys_proto.h to include/spl.h include/spl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/spl.h b/include/spl.h index 827bd25c88..bad12fb01f 100644 --- a/include/spl.h +++ b/include/spl.h @@ -884,5 +884,6 @@ void spl_perform_fixups(struct spl_image_info *spl_image); */ struct legacy_img_hdr *spl_get_load_buffer(ssize_t offset, size_t size); +void board_boot_order(u32 *spl_boot_list); void spl_save_restore_data(void); #endif