From patchwork Fri Jun 9 09:21:57 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: 1792835 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=xcpbfLdr; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4QcwbQ3sdFz20QH for ; Fri, 9 Jun 2023 19:22:42 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 58B9F86171; Fri, 9 Jun 2023 11:22:27 +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="xcpbfLdr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6905B846FB; Fri, 9 Jun 2023 11:22:24 +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 NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on20604.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e88::604]) (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 1DF2B84775 for ; Fri, 9 Jun 2023 11:22:22 +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=IbJzPnjKbbrPB2u3SU+S4mSgO50RlYHEMT+LhBKXT4ZjWnMCTBjxKb7yS7ZxEmrYYZhAWyT9IJvO2VCespT8C4sZyaXitnjNq2uuwG3r6Z3ICesSnNYEZNz9vh9yySswNv5mo/yugwk05fXCoe4JuyawBKSCspzm3O3/OPyzRshljEXH1AWkhXmraJdJknJWTxvH7hdhpe9emp9PuQOtLHpm9uJuCzn92gNEVj5W9L/FaANFJs1TudP2OBe09YhSP/JvAt3ZGXE5k+gFxWlGgl8vCDyWhKBqh+hx21HJpHxRboSRpVo2rllh0QLK/0IFNl6FfgpmAJlLuzNab9FL+g== 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=+0JUTUE00SYcI3OmyOl6BVNgUMzUnKIvPAQSBlQ65Fk=; b=RWy4wQHMzpjlppG/afNYoGmH15W2X3tRYGWTd9lRL4vq2h7gKypGiw5HIquYpAu0RP7PsbfzdzkOGBRbxUkxhSrd5t2l1fekXhfa0rtXqAyvyl/z1sYckYn8YihOIzG5JGqDcBpz8ZQ77fA0S3mO7L1u9MW+M5VPdQeF5nUkl6ZLtHXtHmN4UV/W7uUzB1uAk+gVRncGK/lGOj9pA9vXe7CQAi/NaDQZhreKXUR2Nae/GzarTmmqtlEp7/G7tojwl9oLvMBgDpp05+po/E3NBVHUMIt7rZz5xL7Fj+phQJ+iCA0NGEtQR4obzi3LRa1rhWqkv1QJRqOxx7/nO3oIVw== 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=+0JUTUE00SYcI3OmyOl6BVNgUMzUnKIvPAQSBlQ65Fk=; b=xcpbfLdrfd6fP3lM/ySynNXxGSOt7J15fQw4hZZU+7zY6fdgWlQTWu5EBT9hE4CPgx/Jv/mNp46slYc/ejyDb6pfxZFaI4ZJpyskutJNp8zOQTNZkGq3QB5vLAoMQNnsS+VSzPc7yVe2U6uCuVrA1oKxXLl5otattV2rf2KaAjk= Received: from BN9P220CA0015.NAMP220.PROD.OUTLOOK.COM (2603:10b6:408:13e::20) by LV3PR12MB9260.namprd12.prod.outlook.com (2603:10b6:408:1b4::21) 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:18 +0000 Received: from BN8NAM11FT019.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13e:cafe::ba) by BN9P220CA0015.outlook.office365.com (2603:10b6:408:13e::20) 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:18 +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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT019.mail.protection.outlook.com (10.13.176.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6477.24 via Frontend Transport; Fri, 9 Jun 2023 09:22:18 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) 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; Fri, 9 Jun 2023 04:22:17 -0500 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; Fri, 9 Jun 2023 04:22:17 -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:14 -0500 From: Ashok Reddy Soma To: CC: , , , , , Algapally Santosh Sagar , Ashok Reddy Soma Subject: [PATCH 1/6] spi: xilinx_spi: Add missing prototype for xilinx_qspi_mem_exec_op Date: Fri, 9 Jun 2023 03:21:57 -0600 Message-ID: <20230609092202.14259-2-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: BN8NAM11FT019:EE_|LV3PR12MB9260:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d020258-6a70-4f70-7b23-08db68cb0561 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3z6CwjTc7oA1aCyPOEtlKKib4HkQ4fn6GpkdtBEyBfvfRQLfH1T6S2EPX2yPFcEDAVGNTSdlUR7UI5jhuIR5y6dhTVioid4QSvHJ8osf0zl2RYNGwJ7f6pQRT8IGT9Ai9ITBqcBNkwtXlT+3Szwhhk7E/5eLcyK4HdImnPT/zPMIho27uIHjC9Fnl5lQ82zHcBV2CmAuqfU9BSqtjXNAYG8pLCRdI6dEdd6IS2A5NLz++AV7v3TZIrzssDOA3P0Ou3pd3nS20+El5BoX1+so98IM1eKwku6OnBiKIsC/apF4PdbhQizn7B/pHy/JNkI3l7kjkEhso01CdSion4M8A181xoQ1fMvhfozk2vN/Uj3AbZvRRx27RuTlMGLKaM8/tBEq785/96VAxFs1XjGsvVdfuJsADJClQTKv5+BMDds33rtFHkVYIG6CymCllQScC8wXkJNEFGYkoYaZefG9I54tqhyh0+8lCVXdWt5BNyCYWRmZERetTLOlNKW1Yb3kor1Bz2FXqcIw+1Tedm2fT7AszseJyIIM4+O02v6iAQOvWf1Nbf0ykGxQs6pCf3IqN/ayqh93aecqfLlrzrwHKvYqKHus0iHugCuyY0HhUsq5PzXpTW1TIFy33k86DU3Ti54ZwtbxvSxpoyrf5YUNijlRxN5U/GmGNEobwkVsns9nz3hxCDLHior5zErHeTQ1dSSe7Ku6KbfCg2DqfPXLxGPPxSo6OIIDCX+G/rJbJQQ5bD/HzoN90Hb9T8rRrdJYUZje7yjLr93BLYj+bQOF8g== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(39860400002)(346002)(136003)(451199021)(46966006)(36840700001)(40470700004)(41300700001)(47076005)(86362001)(83380400001)(336012)(426003)(82740400003)(40480700001)(478600001)(36756003)(316002)(103116003)(8676002)(40460700003)(8936002)(356005)(4326008)(70586007)(81166007)(54906003)(70206006)(6916009)(5660300002)(4744005)(6666004)(82310400005)(2906002)(36860700001)(26005)(2616005)(186003)(1076003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 09:22:18.0512 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8d020258-6a70-4f70-7b23-08db68cb0561 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT019.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9260 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 missing prototype to fix the below sparse warning warning: no previous prototype for 'xilinx_qspi_mem_exec_op' [-Wmissing-prototypes] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- drivers/spi/xilinx_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c index 33575fe757..b58a3f632a 100644 --- a/drivers/spi/xilinx_spi.c +++ b/drivers/spi/xilinx_spi.c @@ -363,8 +363,8 @@ static int xilinx_qspi_check_buswidth(struct spi_slave *slave, u8 width) return -EOPNOTSUPP; } -bool xilinx_qspi_mem_exec_op(struct spi_slave *slave, - const struct spi_mem_op *op) +static bool xilinx_qspi_mem_exec_op(struct spi_slave *slave, + const struct spi_mem_op *op) { if (xilinx_qspi_check_buswidth(slave, op->cmd.buswidth)) return false; From patchwork Fri Jun 9 09:21:58 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: 1792836 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=5ioRBRj6; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4Qcwbk56Jqz20QH for ; Fri, 9 Jun 2023 19:22:58 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 13FC986154; Fri, 9 Jun 2023 11:22:30 +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="5ioRBRj6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5AE2E86176; Fri, 9 Jun 2023 11:22:28 +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 NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02on2060d.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eb2::60d]) (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 8F00A84775 for ; Fri, 9 Jun 2023 11:22:25 +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=kSVSOPw3DeZFJ4YnIz62dinTi/sX1UJBPA104Q0xLMSFPyxZYMx0M+rA27eSkfex8/5B//NiFPWQEpk64wsc+EOYuebL5I/DcWLTvtsfGFYO86LD+TcISY3yiwgyCbwaEKxNRpdAsai3rMHrvjD3azlDT2Vcni+vfgOo+8t0guC9MJ8yh1GMCcmNtKHyLCxNWW6Q1xjU7DnJ+1kJd0NmCX/R6mQCwuoQBkA++8RBTdLtQ931NQG7u4yNDi9dGF+W1akaiM6AujMrPlkqtkIpwf68EMLt4ylf5Pmf4GbGxQq7lURjMGQXiu6AXQmPJ5wTInzRvOffSgJ7Wqw02mjOzg== 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=a1XWuClUtRwL1wwR/OrKXzG1383TLhY/Xt+f6WjwS18=; b=gY2V722O8ovUWv82BVsMwQ8WILQmYigcUdseTVD82KMyhw/nuUb52QGtmMYjpaYAbA6ApAJmBSawfyxf9p7gOiQT+eyyTbFqZEwzwcegsrVJ21o3yst9mKZnIleTTveO2Sf2+vqCT6ODeW8FwyJNw0NVazEWa9JBijlFfuIRiHb1++dDVjHnU7bg+eEeAunIiEK2HgIjuPsCC/FtB2x4I6cRrygOi0jACKrollkA2GEBy7k09RsfEocYo1zxPriO+UltXcmXDi5ZrRjsGq0Mzc1Nj0fhDMAfnWUwuaKvCkkoFc2Kb7TX95xInsIUwUBPERs6hgOJYvVtZPFiENyrZQ== 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=a1XWuClUtRwL1wwR/OrKXzG1383TLhY/Xt+f6WjwS18=; b=5ioRBRj6gijTpMvQ/pLqhSIqqu17rWgsooHbFqLGhAGo6TszF30nYAHonnVK4fOkNcT1UuMxlE+ooVvzScbvza4cS2cCy3DUNjWqMahzNE10xzoSxiRsxMcKOo2yh2T2Ga4I3y3JUM/Kqu24K7NZP/yZqi+2mo0xsGRQu/N2C84= Received: from BN9P220CA0019.NAMP220.PROD.OUTLOOK.COM (2603:10b6:408:13e::24) by SA1PR12MB5614.namprd12.prod.outlook.com (2603:10b6:806:228::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.39; Fri, 9 Jun 2023 09:22:21 +0000 Received: from BN8NAM11FT019.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13e:cafe::c8) by BN9P220CA0019.outlook.office365.com (2603:10b6:408:13e::24) 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:21 +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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT019.mail.protection.outlook.com (10.13.176.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6477.24 via Frontend Transport; Fri, 9 Jun 2023 09:22:21 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) 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; Fri, 9 Jun 2023 04:22:20 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB07.amd.com (10.181.41.45) 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 02:22:19 -0700 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:17 -0500 From: Ashok Reddy Soma To: CC: , , , , , Algapally Santosh Sagar , Ashok Reddy Soma Subject: [PATCH 2/6] xilinx: zynq: Add missing prototype for zynqmp_mmio_write Date: Fri, 9 Jun 2023 03:21:58 -0600 Message-ID: <20230609092202.14259-3-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: BN8NAM11FT019:EE_|SA1PR12MB5614:EE_ X-MS-Office365-Filtering-Correlation-Id: e579f53b-4fef-416a-44d9-08db68cb077c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +mCWQWkyrb8BKEYkkzZHS+MEfoku6JHBypNmJvIfzloLsqSZG/ym5kXS/ddy3tDVWgYbrw7mVBwMATsgQa22UgKuv3sr7cPG7h1S1ycY2TVnaNl6fqBsif+uflVimW1AumsCuzx0BFazbWsq/DevRDBbAIb8YShoTFLAicmCd9+natVn/Uz/BBRfKnu90JkBI4wkYoGdmFR4kXZ+ZdBFm7Z2NJ9TjmNoy2+wPpBKvE6SlFI/9YUmvDKtSYRLOWDSzn9LUhvptNIiMVb3AgeAB+pG4tkfYCNeJH3pFiO+zMWe642DioDsweoB5eQNa0j6n1pFa1pBqqt1bDPea7Q3HgoqXOi6skqNqMU8VdxYEO4VN98t6g9SsX3gVBtPWQegse5hku5RyjDcIfhxBHz7ahrUAiGwW26ncu3GjdGmo4hoKWSOWrCKIBj8voin7Kzi/OD1Cocyk8GmXqn9hAlH9wK0YZ0s/qtRs8dq0bWJ2BCWdGKEu7qMIQf4fdc5HXGCxtiOMA3eielaVXwHSx/yhMn1S/xDPcvfIPTtgd/VmsI5m4C4AtqnFsdFJao+2OjQ38/gTaIoz84zJ4OTUw1uAdmvO8ond3IgPiQ4P8BjNAtziliVD177HOGXUnRRYd6SvO2KgCV1wrbnpNZs/ROfl0HptgsVI9mmKVAHtSjaRP2IQWPXrfSJlMxGDESenzLKD6AH8BCdDCNxwlcxMimON8LuzixdVbMeiwSWTAA47NTwkxESt1FJEBYzkfYA521Lsv7F2SqeDcCjYMfu6C96Vg== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(346002)(39860400002)(136003)(451199021)(36840700001)(40470700004)(46966006)(186003)(426003)(336012)(2616005)(26005)(1076003)(47076005)(36860700001)(82310400005)(6666004)(70586007)(70206006)(36756003)(4326008)(356005)(81166007)(82740400003)(478600001)(40460700003)(83380400001)(40480700001)(8936002)(8676002)(5660300002)(86362001)(6916009)(54906003)(316002)(103116003)(4744005)(41300700001)(2906002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 09:22:21.5822 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e579f53b-4fef-416a-44d9-08db68cb077c 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT019.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB5614 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 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 --- arch/arm/mach-zynq/include/mach/sys_proto.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-zynq/include/mach/sys_proto.h b/arch/arm/mach-zynq/include/mach/sys_proto.h index 268ec50ad8..74f9665fbb 100644 --- a/arch/arm/mach-zynq/include/mach/sys_proto.h +++ b/arch/arm/mach-zynq/include/mach/sys_proto.h @@ -16,5 +16,6 @@ extern u32 zynq_slcr_get_idcode(void); extern int zynq_slcr_get_mio_pin_status(const char *periph); extern void zynq_ddrc_init(void); extern unsigned int zynq_get_silicon_version(void); +int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value); #endif /* _SYS_PROTO_H_ */ From patchwork Fri Jun 9 09:21:59 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: 1792837 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=bBPR7NHf; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4Qcwc11VBfz20QH for ; Fri, 9 Jun 2023 19:23:13 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 44B2286178; Fri, 9 Jun 2023 11:22:32 +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="bBPR7NHf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BCB2D86177; Fri, 9 Jun 2023 11:22:30 +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-dm6nam11on20616.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::616]) (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 B5E4C8615A for ; Fri, 9 Jun 2023 11:22:26 +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=jAsO5HmPZPsEYgGX+Fcm+b7/K+Ti1Fb42nEAxlvrIUMXSCedIM5+gvDoMrEbVvowW1tEe5/f4w7+5BRLZ/Xe8Bs2rFiz43MthvG1zIb8daNkTMOomkns6PSvAp5o3NdKBGk1v5V52R529lpVgeIhi2adZsORQ5ck/toR43yv5Qzkcn/FHPM8+ob517akNwmVk8+yUeQoOc/9Nh7ujr+t73HcGjJYkqzcEnNywm6gnNZKjzHwjIi/P3d46NDgDWOe2U+hAez8kFDVgmYTL3kU+1plaYn8ouVmeqj7czLihcC/mPUDAVEloWY0ErVNHcflnkYkS+f8d3B/1/6syJ82Ag== 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=Upg4rcLUM6J88drb1fYyaedkgkCHDui/gg3QC+IdheU=; b=Ltkgv/vgOf7w+cM97SGfaH2CEj+7nmAdEVukseOUOplfHf3RreNGaonS5Rm6NbquCu4vdQ15Wyyi6UnOJgHehh54LgI5tfFNnvHKlzvHzEljCLKa+hsPP3r0DsqJfFAcQTIddtLik7HdelF9VT62nMkVQesucyoKFkE960TdF3TEDXJpgSCp8TkH7eqDqe/5wuqOEcYfYib/TUCIjoW5qVeSom+Xvt7q8omh9F7m6khTiZGGLDsaXRTXUO0TYsArJS2OUxZyJu5J1hEpoXl9dxo/8Ci19AP/wLM6LiG1/sQiZ/0N8fNS9LdvJvIvnODiHm99gPuxRnKmF2v8Gr5sfw== 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=Upg4rcLUM6J88drb1fYyaedkgkCHDui/gg3QC+IdheU=; b=bBPR7NHfg/KZcmVMoYy5ymGJBI92TjuCl4UZH5z5oJcbq1714o8e07gCIrSeSl9Q1OasbvQ9ipbVmUB8rjHOBDKIr2yvpUIthDqzhLvSR2UdTmWQ0Zw5lx0RQJGFRUCGjHptnB52FgYbZ53ZnHQwTr+GLA2nnIkzSklnK2xxQOc= Received: from BN9P220CA0010.NAMP220.PROD.OUTLOOK.COM (2603:10b6:408:13e::15) by CH2PR12MB4230.namprd12.prod.outlook.com (2603:10b6:610:aa::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.40; Fri, 9 Jun 2023 09:22:23 +0000 Received: from BN8NAM11FT019.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13e:cafe::96) by BN9P220CA0010.outlook.office365.com (2603:10b6:408:13e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.25 via Frontend Transport; Fri, 9 Jun 2023 09:22:23 +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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT019.mail.protection.outlook.com (10.13.176.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6477.24 via Frontend Transport; Fri, 9 Jun 2023 09:22:23 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) 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; Fri, 9 Jun 2023 04:22:22 -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:20 -0500 From: Ashok Reddy Soma To: CC: , , , , , Algapally Santosh Sagar , Ashok Reddy Soma Subject: [PATCH 3/6] spi: zynq_qspi: Add missing prototype for zynq_qspi_mem_exec_op Date: Fri, 9 Jun 2023 03:21:59 -0600 Message-ID: <20230609092202.14259-4-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: BN8NAM11FT019:EE_|CH2PR12MB4230:EE_ X-MS-Office365-Filtering-Correlation-Id: 5008cbdd-d60d-4280-59e7-08db68cb089a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tjMct+jYuQqzbh7FpEwZHV/E+7YuZfTgT1XLNKmNv4MM3uDlZcEwez9abHCWeBq0qpABwSE2jIoRClQKNYNayaLxMOmqp0GwP7A3hCmvhXqB6aZS9fACLvv0eSakBB2f6BOjPuswloi/U3IsuahUTxDASuWhWNg2414U+6j4TdaoZhaFZoz4ZMSflSBwBJmPyELdCpUhIfHyg/gfkNf/0JfToR1nBpECL7m6jL7M4p2ahsi0DKGqOy+zX5UIxGsKqyLSgMNUizQlyQrwaTj4AO9Yh/CEzpL0YjX/encsLHX5z5T2JOyUbWj+H/nsh2p3yIuEm25XfHD0lIqDC41oVBWkhaiulHkMegM99g69ELKRjSbB2AaN/dlLNntZBCJKucJ0MqGnPX9QJK8CpXzT6ApUyztTGReB0xiaRap8LtId09U+2c2yUpL20H7N+qAQLWw+Vgue30hVHCg9BUsSqDyK/nckTnlAXhpF9ap1uG5XF08Ley8w8j8M50bc2QgzP1H3FyEWwIgX1lzH5Craf929orRSvB/daLC5FYfzpP/flo0/V+8w8YEB2vmr7mO9GiiHiGGfaa9TEmkh8+yUOVDWX1RdTfEPoy08a/Vyq3h4Xp1dHgW0KjGO+oZHURB/Bl2CdgqsOtPhY9G0iP3As+9i4+JUxZkCLzc4HMyWiwt1ecfGrLnnenu55V24M3YvU4q8BcSf3JWbCzmK70sm4FqvLtSXeq+7azw7mbh4+wrrTtIRFX+wSDxEqKQqgLvrEUUw5QqkPSOLlLWu+sjuRg== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(136003)(39860400002)(376002)(346002)(396003)(451199021)(36840700001)(40470700004)(46966006)(70586007)(70206006)(8676002)(8936002)(36756003)(5660300002)(6666004)(478600001)(6916009)(4326008)(54906003)(41300700001)(40460700003)(316002)(40480700001)(81166007)(356005)(82740400003)(426003)(1076003)(47076005)(336012)(36860700001)(186003)(26005)(82310400005)(86362001)(2906002)(2616005)(4744005)(83380400001)(103116003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 09:22:23.4727 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5008cbdd-d60d-4280-59e7-08db68cb089a 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=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT019.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4230 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 missing prototype to fix the sparse warning, warning: no previous prototype for 'zynq_qspi_mem_exec_op' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- drivers/spi/zynq_qspi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/zynq_qspi.c b/drivers/spi/zynq_qspi.c index d1d4048966..cb52c0f307 100644 --- a/drivers/spi/zynq_qspi.c +++ b/drivers/spi/zynq_qspi.c @@ -747,8 +747,8 @@ static int zynq_qspi_check_buswidth(struct spi_slave *slave, u8 width) return -EOPNOTSUPP; } -bool zynq_qspi_mem_exec_op(struct spi_slave *slave, - const struct spi_mem_op *op) +static bool zynq_qspi_mem_exec_op(struct spi_slave *slave, + const struct spi_mem_op *op) { if (zynq_qspi_check_buswidth(slave, op->cmd.buswidth)) return false; From patchwork Fri Jun 9 09:22:00 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: 1792838 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=RHr66e2J; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4QcwcG3JQhz20QH for ; Fri, 9 Jun 2023 19:23:26 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3B24C86180; Fri, 9 Jun 2023 11:22:35 +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="RHr66e2J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A53528618A; Fri, 9 Jun 2023 11:22:33 +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 NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on20604.outbound.protection.outlook.com [IPv6:2a01:111:f400:7ea9::604]) (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 127F586166 for ; Fri, 9 Jun 2023 11:22:31 +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 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=gvzPQ4Ikccz5Ao/73Aji/ZjVurDC1RzF3R/uJrodByg=; b=RHr66e2JZxabGCASND7ih4Igv8YMeoQd3l5nTIt+Tz4uNK4+dqmWB0+PykdftM8AGoiD34bka9Mgi7snqcepETpjvHVJpHEpeeJh/BHEhnclnCc6jXYqBlCegRpTAKBQi9LDDfv7Cj1xj2vUsP7+VuTlqk3UxSGQAzqmDRBFYX0= Received: from DS7PR03CA0072.namprd03.prod.outlook.com (2603:10b6:5:3bb::17) by LV3PR12MB9235.namprd12.prod.outlook.com (2603:10b6:408:1a4::10) 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:28 +0000 Received: from CY4PEPF0000EDD4.namprd03.prod.outlook.com (2603:10b6:5:3bb:cafe::e) by DS7PR03CA0072.outlook.office365.com (2603:10b6:5:3bb::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.26 via Frontend Transport; Fri, 9 Jun 2023 09:22:27 +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 CY4PEPF0000EDD4.mail.protection.outlook.com (10.167.241.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6477.13 via Frontend Transport; Fri, 9 Jun 2023 09:22:26 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) 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:26 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) 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 02:22:25 -0700 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:23 -0500 From: Ashok Reddy Soma To: CC: , , , , , Algapally Santosh Sagar , Ashok Reddy Soma Subject: [PATCH 4/6] mtd: nand: zynq_nand: Change datatype of status and ecc_status to int Date: Fri, 9 Jun 2023 03:22:00 -0600 Message-ID: <20230609092202.14259-5-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: CY4PEPF0000EDD4:EE_|LV3PR12MB9235:EE_ X-MS-Office365-Filtering-Correlation-Id: 87ef910a-8029-44cd-b7de-08db68cb0a95 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hA7hGZeb2EtKk7Z56CKEVucOG/uIxyAa5VSIiblSPg+/q+/LQoSvBSqflXGZf9gbJ2cubJew1l0lWGdelvng7h7Wy3wWrV09ccvx0r6yzf3MGfqYgbBfCjIL/adMWDEGVK3jOBTiMlx+3szKFPjU2FxZDRQhcec+TYFIXJZ13GdkflFCi0XInWWWKRD527JC3cp/TDQyqwc1SA2a3aOeyE5/ttszqA0cPQn3eou2v4AonW5x6NU7Uxvq79VrNdsc3CbkxFUKMHdoXiwvJ3aZ55wiKgNTWPi4AsgFxraIF3M6jgeb5x10KFnWVnwY1R/gmc773V3AAiJxsGfJokX8IUSl9iD61EcBWudDaGfxos593yL638r2/RW6NPEMpFtM6WBMLhTdjbIixaY+3gjSbRiMFRGi3/8fMu+S7Nb75FJEMXXMXQyDQxh3ToNxR2XYzO4/jVLtzvgwNc4abWnL/WAsVv8Qb44yRUDTl+21g39Gd8pUellwkfXbopy07SZVtKD2FEX98eyYrosQ5Wnn3uxhvb69ZEPILNPwrXs0X9rOmePKO1oJyCMScXXw7DxnPwzKzDst09TyaL1DpyBv6Ms/x7RpvSzEsFkNQ80/d6HfIE5jNcWzWY18lwifyTWjy60s70RiJbM93IQh8YOM9QqNjGjIji7YBxi5D5LmGzTPFXB0iZthBQeQ2HJV4FQZVq3M25EUd3PIHOaAF5qYdF6CjxmD9r483/qmxtR/EK/rkRBdGTW/y5hK0MU3riHc36rfeGmM+7TrjBNhgo137A== 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)(136003)(39860400002)(396003)(376002)(346002)(451199021)(46966006)(36840700001)(40470700004)(2906002)(336012)(82310400005)(40460700003)(6666004)(36756003)(26005)(1076003)(83380400001)(47076005)(40480700001)(36860700001)(426003)(103116003)(2616005)(86362001)(186003)(356005)(82740400003)(81166007)(54906003)(5660300002)(316002)(41300700001)(478600001)(4326008)(8936002)(70586007)(6916009)(8676002)(70206006)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 09:22:26.7041 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 87ef910a-8029-44cd-b7de-08db68cb0a95 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: CY4PEPF0000EDD4.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9235 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 status and ecc_status are of unsigned type where they are compared for negative value. This is pointed by below sparse warning. Change datatype to int to fix this. warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma Reviewed-By: Michael Trimarchi --- drivers/mtd/nand/raw/zynq_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/zynq_nand.c b/drivers/mtd/nand/raw/zynq_nand.c index 9e3ee7412d..545fdd7b69 100644 --- a/drivers/mtd/nand/raw/zynq_nand.c +++ b/drivers/mtd/nand/raw/zynq_nand.c @@ -285,7 +285,7 @@ static int zynq_nand_init_nand_flash(struct mtd_info *mtd, int option) { struct nand_chip *nand_chip = mtd_to_nand(mtd); struct nand_drv *smc = nand_get_controller_data(nand_chip); - u32 status; + int status; /* disable interrupts */ writel(ZYNQ_NAND_CLR_CONFIG, &smc->reg->cfr); @@ -332,7 +332,7 @@ static int zynq_nand_calculate_hwecc(struct mtd_info *mtd, const u8 *data, struct nand_drv *smc = nand_get_controller_data(nand_chip); u32 ecc_value = 0; u8 ecc_reg, ecc_byte; - u32 ecc_status; + int ecc_status; /* Wait till the ECC operation is complete */ ecc_status = zynq_nand_waitfor_ecc_completion(mtd); From patchwork Fri Jun 9 09:22:01 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: 1792839 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=wKaYeidP; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 4QcwcX2HVbz20QH for ; Fri, 9 Jun 2023 19:23:40 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 94B768619A; Fri, 9 Jun 2023 11:22:37 +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="wKaYeidP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A05938618E; Fri, 9 Jun 2023 11:22:35 +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 NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on20605.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8a::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 EC78186183 for ; Fri, 9 Jun 2023 11:22:32 +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=WY/oM3FE2q8lqDQ3mItGAkW3DJDYQcs7JwsVrkdiUyMLu6w5g2FkAGF/4ZrbZKUMQhKYQot9lcQ1j9NE0P1bqsWzyc9d4Z0r7GUxYfw/XBHUdVs3v86JcVttpEy8J2/G/6pT5DSaiuAGud6ZzQe5B2Jxv1/QZVcXi+VueSWvprt32ia+eua2dZBDfxIhBEP0dmFEBcSo95rtc90TvVYbf4zxpZM+9B0sbcJnwhPCblTJhZjKxbxTTW/nQV+TeQGrpRHyEI4H17L7gULuCtR76jhLHfbP+f9BkYYNP9EoPy5vKWewqRPDnZxLVvNviz9m5HTM8hc48VcO2Ke190WtRw== 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=gez+1ayrQTAankSa4RE1U6uSTWX871xUG9sd79K3+z4=; b=iOuYDt9fGMOXSE3SSwepReIygG9GMFNK1GP4q4J8on9KzzqbSFKIXG2tZ0M4lxhvrVWPOmpviS9mb1p3pLEJzBXfQAhRBEnc/juR6A8yw6UTDOTlZp52IzfYQCzk/WtzF32D9jKg72bEMxGXfbWsvZchk7QtcfzEdqwOaxvPl/Zu5ArQgseDLRbH01E/KXVH+K6sQrGER0NDyfkadWi30j5mbh0kp+NU3Faoc4Wlvp/eEuuqYBC1WzjPmv3Ao/JgsfmUgS8gGA2ktcFozVj+58u6nPbDN9oYPJF5wmd0UpJ3cidSKwfCGBKdaDU8rOoppHDi9BL2hUhtH5RAs7FoZA== 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=gez+1ayrQTAankSa4RE1U6uSTWX871xUG9sd79K3+z4=; b=wKaYeidPdrZjOOfZGtzvbxU9aaieR76kkFwtxewC0ERjnM0FLvlwdfYstIxO7aWrZi293XXVovp0UcUr+IN57HVJSc28BvmehYHtbF9L9Iihu12tCWwrq6+YxQcqyX3tpqOUVsM5dop6eV9ZQAFqZ1nrJaYlwLX2QQae40UBuSY= Received: from DS7PR03CA0079.namprd03.prod.outlook.com (2603:10b6:5:3bb::24) by IA1PR12MB6113.namprd12.prod.outlook.com (2603:10b6:208:3eb::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.19; Fri, 9 Jun 2023 09:22:29 +0000 Received: from CY4PEPF0000EDD4.namprd03.prod.outlook.com (2603:10b6:5:3bb:cafe::4f) by DS7PR03CA0079.outlook.office365.com (2603:10b6:5:3bb::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.25 via Frontend Transport; Fri, 9 Jun 2023 09:22:29 +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 CY4PEPF0000EDD4.mail.protection.outlook.com (10.167.241.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6477.13 via Frontend Transport; Fri, 9 Jun 2023 09:22:29 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) 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:28 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB07.amd.com (10.181.41.45) 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 02:22:28 -0700 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:25 -0500 From: Ashok Reddy Soma To: CC: , , , , , Algapally Santosh Sagar , Ashok Reddy Soma Subject: [PATCH 5/6] arm: zynq: Pass the missing argument type in function definition Date: Fri, 9 Jun 2023 03:22:01 -0600 Message-ID: <20230609092202.14259-6-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: CY4PEPF0000EDD4:EE_|IA1PR12MB6113:EE_ X-MS-Office365-Filtering-Correlation-Id: 4e660558-85a9-4d44-6c51-08db68cb0c0e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zb+9FIjUWwy14YEOgRE28SrrU5H0zIZd9BosWL4rRvgwBtshLR1hLK9nURd0G4rtKdGQVS9+ASWYVgvZCrU3RlQql+OtrJRuvj666QJm2y0OYaJTOJ2ZVy4asin+nqGHLvRTkIbnbuUSPSQ33wmKtJKtTcy6enapoRtcObG4vvrbjbJ8zux+Yo8JrvNzJTGZmb6CTakeJkYqzqJYqDDUueK0Sc0QDcwBSg3shIhcbw8ZtE5N1GSLZnN62cpzkVcfgA8v1KZj4KwNw7WLYcTkpfnrgRoBRY1H+Q2BhesNu3uXPlOfzu5lna4yjnnCvS4OkEVfDabjSnda1Aj4ehMVC6VMyMT8kN6PUcf73QOLzpBXCj/OJZGwQgUbaTaMo4xwvfvGWet89qrc/HoXZsKAmtZPOUstcpgzXKxSYDAUSdEpqG1KRSlKnO6cFipKs2JLEAAEv38LlGEgEfmfQP24LE/i6Ek9DhhJEyKhAlv1SSnZ6gQYZpe4Zrn6DKbZeZNCpi35xtqn6XlfvTUr4fR7z83Bcl66aPWjpAM9lrSIysmvUoDA4aWQFrvya6W24dy7vIGL4FaZSECfcs/mLx/U4lVE0k/8+tHV2tGcCwGwzmgRy7oy37V5AxP5vtJ0jg4gGDPeg3ePKmVOhBG7ahXB8Ox73E4bkYmHNcZBEnEVASKtoNg/IcNHaS6It7Sb0yssnG7IBXq9eIg3uzgeq4gp1//4frrvLGKHONOq6Ne04d6q7k+ZuUzCFL6xWCDjSNI1Dj8j3v3CyOFMJfV/5il7vA== 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)(136003)(39860400002)(396003)(376002)(346002)(451199021)(36840700001)(40470700004)(46966006)(40480700001)(40460700003)(70586007)(81166007)(36756003)(82740400003)(70206006)(356005)(19627235002)(54906003)(5660300002)(4326008)(2906002)(82310400005)(86362001)(41300700001)(8936002)(316002)(103116003)(8676002)(6916009)(478600001)(186003)(336012)(36860700001)(426003)(83380400001)(47076005)(6666004)(2616005)(1076003)(26005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 09:22:29.1884 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4e660558-85a9-4d44-6c51-08db68cb0c0e 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: CY4PEPF0000EDD4.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6113 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 Pass missing argument type in the function definition to fix the sparse warning, warning: old-style function definition [-Wold-style-definition] Signed-off-by: Algapally Santosh Sagar Signed-off-by: Ashok Reddy Soma --- board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c b/board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c index 796e5b0c5f..6b153aa379 100644 --- a/board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c +++ b/board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c @@ -12648,7 +12648,7 @@ unsigned long *ps7_ddr_init_data = ps7_ddr_init_data_3_0; unsigned long *ps7_peripherals_init_data = ps7_peripherals_init_data_3_0; int -ps7_post_config() +ps7_post_config(void) { // Get the PS_VERSION on run time unsigned long si_ver = ps7GetSiliconVersion (); @@ -12667,7 +12667,7 @@ ps7_post_config() } int -ps7_init() +ps7_init(void) { // Get the PS_VERSION on run time unsigned long si_ver = ps7GetSiliconVersion (); 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