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