From patchwork Fri Jun 9 09:22:02 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: 1792840 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=YVtqGPYC; 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) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Qcwd06R0Nz20QH for ; Fri, 9 Jun 2023 19:24:04 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BE1C18618E; Fri, 9 Jun 2023 11:22:41 +0200 (CEST) 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="YVtqGPYC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8834E861A1; Fri, 9 Jun 2023 11:22:38 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on20605.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::605]) (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 20FD486187 for ; Fri, 9 Jun 2023 11:22:36 +0200 (CEST) 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=YtlhgKl5jebkc0GIFRoGx9Xj/LMT4VbRRBWanRJFDN9qp/KU0GRjoHuLo5r4dWN1xuJKt1HbcHlE7fRNIWL/3V/psnF3m3afRK8JvtoVc65kwpCkoZN4fp0SjDf/yMIPoWZNc8awyL0+QBZpcGQgPP1HHzVNZBJaiExYD9sX+/B++iUHPYTNtd/+hhHYoCNNFbCFAIfDceQbGWAyAPvqhk/7D9JQfCNYecN9QrRw8TCIQh7Ovdc7xZrrHUjO/x517sn2HQoGiijuRRVJHu2Oqoctu2fjQOkUhI/uxNKkeEcxgrIIBBmiHmcNPmD/NGhn+I7gEd6kw9kzXIc55+H7lg== 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=JE0AYksoRZEHFJP3xCsreOTo2jgwTi+HMdqJF0wAn0A=; b=hloWTqI9J0pHGbPSi/gfBh0Qzd4nNoYaGnPRaofTs22wVBxpIb4aFaBykfRSk+vPRR+Z0Ds/B+hTV/hURTyshFqsoC685cpkf2YY6ikhnWdlVTD0VFUGAD9NZcIVbSkoiwS68sYVkMjHkhaOSgFh4uRjlxJ5rPkvWVzhhegDh+lQe3VJDM7yRh/PwDYZ+zlS7ciXJ1gQLgOuHJrUFf1LUi9M0iU+yT2ciaWlX8zuEFBMi9Y0becJ2Xo9QhQQdPFFirNKTXOhKvVS145HdIMPqoCj77Jj8o4tmzgnhtFq7JrP2rx1uAgUJTg8WX7LHKcjLbAQxP2ywDV4DIM01SYk2A== 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=JE0AYksoRZEHFJP3xCsreOTo2jgwTi+HMdqJF0wAn0A=; b=YVtqGPYC+tuip+Im9d+UrkECAlSwVKOPIJzMKrGQwU/K93Nyvclufk3gNKMyNPpi05bPDoWQ1oGO8CG/tVy1ivOV/Bml6QrlOUgXmfK4I0ZyhlUxWxQj8tu3D54TrdsCqNTSeulhsNb07CdYw9QJ30hxHINaZH+KfET/3RxXyeE= Received: from DM6PR14CA0063.namprd14.prod.outlook.com (2603:10b6:5:18f::40) by LV3PR12MB9185.namprd12.prod.outlook.com (2603:10b6:408:199::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Fri, 9 Jun 2023 09:22:32 +0000 Received: from CY4PEPF0000EDD5.namprd03.prod.outlook.com (2603:10b6:5:18f:cafe::bd) by DM6PR14CA0063.outlook.office365.com (2603:10b6:5:18f::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.27 via Frontend Transport; Fri, 9 Jun 2023 09:22:32 +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 CY4PEPF0000EDD5.mail.protection.outlook.com (10.167.241.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6477.22 via Frontend Transport; Fri, 9 Jun 2023 09:22:32 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) 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; Fri, 9 Jun 2023 04:22:31 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 9 Jun 2023 04:22:30 -0500 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; Fri, 9 Jun 2023 04:22:28 -0500 From: Ashok Reddy Soma To: CC: , , , , , Algapally Santosh Sagar , Ashok Reddy Soma Subject: [PATCH 6/6] xilinx: zynq: Add the missing function prototypes Date: Fri, 9 Jun 2023 03:22:02 -0600 Message-ID: <20230609092202.14259-7-ashok.reddy.soma@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230609092202.14259-1-ashok.reddy.soma@amd.com> References: <20230609092202.14259-1-ashok.reddy.soma@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EDD5:EE_|LV3PR12MB9185:EE_ X-MS-Office365-Filtering-Correlation-Id: 234b8c93-7270-4c58-9623-08db68cb0dbc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qLScuJ6fn1UouanpRLu8FIj7bNNqAaYMI41JvBZyiD3LVcg3kX3HUwdP3iuLU+ZK3Jn2EXkAeS02xwUFJzzCbAJpg+qzINWJWMsXRD180SS6f2hQLV4DxxhGJJEmULBSvtdLNVw8GkkdUwMREFcBSUsv7IsGgetdwYVcOPCxObBq9WGdRMnrktZwqLIfcZ1bQAkPwmcMyy2rZSTdvYCMarDJ1wYDbJJAPJc4RBuZkhXB/C6U7L1qvgS5H92x6f9A4d5E8ofTrVCCrqpgAo3MDkb2wNhFLB6bZFlJ0A4rUjGy1ABJESxy6MUyHYIAREF4OewHu0I47Y5u8X7vrLVEia1pjVyy/nr1czaONXHZ+g5AZyihEfgM4gcKahyJbLCX7B+OL3LnvKc6NrMtD5ZcgySlICI1bNdGcraoFBr9CG4JJMt+uswTvPVrdgP9Nr7Zlg29E3JZZ+uOkbJQ2Wsv6LP0sjyfGlqgveK0e/ApO/GLolFdrQXi00zAv95JiQNO4FNuBfF7xSBgWBoVtEsiAWYQdp1fLAZoSGCDAfcFwncZyAcRsPR95WvZye8max0Vj89NHZtkz43AGFWfbEyDgJTAJD1AHZxOID7ZXIBKSeAFRBAu3p3HqczHgyjV3ulql5dahJT4tE48SqXvSQfOzJjgRPdJicJdjgh9orMRKTdNHJ0b5ZES8C5qX5Cs61b5LeGsZzJpYBhGrVTkhlU/8YOTnQgnu07vHNj6y45hKSePPm2+0KjWUJ4ON4CslEfniNmsdUoIHt5+BJEW/kvqaw== 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:(13230028)(4636009)(346002)(39860400002)(396003)(376002)(136003)(451199021)(40470700004)(36840700001)(46966006)(40480700001)(82740400003)(70586007)(81166007)(478600001)(54906003)(6916009)(316002)(336012)(356005)(47076005)(8936002)(186003)(41300700001)(8676002)(4326008)(70206006)(2616005)(426003)(36860700001)(6666004)(40460700003)(83380400001)(1076003)(26005)(86362001)(103116003)(4744005)(82310400005)(2906002)(36756003)(5660300002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 09:22:32.0076 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 234b8c93-7270-4c58-9623-08db68cb0dbc 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: CY4PEPF0000EDD5.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9185 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.8 at phobos.denx.de X-Virus-Status: Clean From: Algapally Santosh Sagar Add the missing prototypes for the functions pointed by the below sparse warnings warning: no previous prototype for 'set_dfu_alt_info' [-Wmissing-prototypes] warning: no previous prototype for 'board_debug_uart_init' [-Wmissing-prototypes] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- board/xilinx/zynq/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 9a59445b44..3b6581e304 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/zynq/board.c @@ -5,6 +5,8 @@ */ #include +#include +#include #include #include #include