Message ID | 20220825125906.11581-3-ashok.reddy.soma@amd.com |
---|---|
State | Accepted |
Commit | 9e89e30d4de41a687cdff922e410b0a87d663348 |
Delegated to: | Michal Simek |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=<UNKNOWN>) 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=YVsUphZ+; 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 4MD33421J5z1ygc for <incoming@patchwork.ozlabs.org>; Thu, 25 Aug 2022 23:00:00 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2DAB48488F; Thu, 25 Aug 2022 14:59: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="YVsUphZ+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 59C6A8487F; Thu, 25 Aug 2022 14:59:34 +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,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2085.outbound.protection.outlook.com [40.107.101.85]) (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 CF0B684879 for <u-boot@lists.denx.de>; Thu, 25 Aug 2022 14:59:30 +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=RX/Ll+qcU8ijsOW7+24+odXTG5dcWSrpQwkYoYuMbGZi4vmLNTk0IctMkVAqRESy/NQ+1k77vh/t9M/+ZPcak18aaDIMURT3Z8UV24Nmbxga0fqCXvk5wXGIrOAaGf3RWLfHw6hEJZxIwubfQcr/ky+kS1nGaclKdx2dZGuSYBAhVTTgOEIxG/bHVQW4uPFvR+gMYp9uDfxaPiEp9SC6i8GD9tZpvoxse84Wf7Jttojv0e3vIp0WLSIlQbtLG14qePenYxrrMk0rSYLUK+7yib9bpTPNjLqrJ29jXpJmZ0ZLhWCAgevo34TDhd7jdYgV2ojGE2XZzc6Hw55weuKVkw== 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=61HbUckRvyA/IL+YmQjImvg8bLt+Xm+CAJlHQ7eYftM=; b=GuPS1ilVLaonZYrKi5o7fNra5/rnkEcGGOOD1Uh1qDFNMotZwrGMheSlKeFZumrHKvQMvljB05T90cJ0JaDCtvw36PZCF9PQ80sIM3+EL7lkZb+aiqCZOnRYBT5sMBJ905GOdQLwSz7C9pXkh5635F8twF+XSjHgxD3jYgk4IR2LtQYkTz0XKdr2umZ2tqthA+ukpqOcoKG8Q4rBuzBQbYhg9Ld7x1TRK+BZuxXZlFiIr/mJoU20d0frPZtEH3XatVFXyC+ZniJJmz1Cwr+dMBzsDy3KoryuodKIihQsblfOUNsm/8THMmLjiKSo7CqgIMYCt5Wj1Nr7P0fRZfvmHQ== 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=61HbUckRvyA/IL+YmQjImvg8bLt+Xm+CAJlHQ7eYftM=; b=YVsUphZ+/NmXXBqtzzsF6G5057USjwovIZJ3yYlgQmCZHj/I51urs2RePfFJYDPToJnx6Qm06uRrqdGtzeG5mW3f5trHMe835JjigHsA158knXdrvb6c5lSUmvRb2RJMr0uN3xwfAMi+dbyPExSnz1H2YIG45zyVWs5jSXBaQGg= Received: from BN0PR04CA0012.namprd04.prod.outlook.com (2603:10b6:408:ee::17) by DM4PR12MB5961.namprd12.prod.outlook.com (2603:10b6:8:68::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.14; Thu, 25 Aug 2022 12:59:27 +0000 Received: from BN8NAM11FT025.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ee:cafe::51) by BN0PR04CA0012.outlook.office365.com (2603:10b6:408:ee::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.15 via Frontend Transport; Thu, 25 Aug 2022 12:59: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=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT025.mail.protection.outlook.com (10.13.177.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5566.15 via Frontend Transport; Thu, 25 Aug 2022 12:59:26 +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.28; Thu, 25 Aug 2022 07:59:25 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) 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.28; Thu, 25 Aug 2022 07:59:25 -0500 Received: from xhdashokred41.xilinx.com (10.180.168.240) 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.28 via Frontend Transport; Thu, 25 Aug 2022 07:59:21 -0500 From: Ashok Reddy Soma <ashok.reddy.soma@amd.com> To: <u-boot@lists.denx.de> CC: <jagan@amarulasolutions.com>, <michal.simek@amd.com>, <git@xilinx.com>, <git@amd.com>, Michal Simek <michal.simek@xilinx.com>, Ashok Reddy Soma <ashok.reddy.soma@amd.com> Subject: [PATCH 2/6] arm64: versal: Define zynqmp_mmio_write() for versal Date: Thu, 25 Aug 2022 06:59:02 -0600 Message-ID: <20220825125906.11581-3-ashok.reddy.soma@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220825125906.11581-1-ashok.reddy.soma@amd.com> References: <20220825125906.11581-1-ashok.reddy.soma@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 191067c9-fd26-4387-61f5-08da8699a3cd X-MS-TrafficTypeDiagnostic: DM4PR12MB5961:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zv/Ecaiq/C/CcxPSA4J/ATsDSjcS7iwWDhjhFWLslJjjdLrx8c0Ze39QDzwY7A1guu1JTdOBsuky/LnVIaGMxc8/+wlNvxcvBigKixXMMXlbsFFXzBwzSwDRFpY9Lj6BYVM4J8myoWS/HCFy10/T3qqioU+n51MAv7ozrSbeeYBO26x3GgedyTSwyJWYiJ2Nin0sCE3PPiQVB0QdsPEs08+CYAkWtXSu+Nwe8BZEGSOFxq+PLKfopxFnTQtgwTRqTDo6MW3HtV8vPUzi1URyXT6HxXW7q2Ss5gkLJtTH12OJdJTzUftxWkg8JjOGVIgmPmjVPsP6GT1TGW6N2FjIp9XNVkJojZ2zOEvpHFkM/5TqKiuGxzeuHn94TRfQuDO0Papu1JSIzBJ2b0RAbHtB/JqVp0DIwswquTbD+FS8OYiJyJrJyBUO84/ynGf6MeA1XyCddNTkePdqmMPbXCTSktBx28DNiqza8UE3Ev5DBv1Ax6at0qfyqwssb274nA2qP6HMJaXGtU4NbaN0EhX5GPMW1ja16E1Ffifahhb5RW1VYR+PEsnu8c/DqhMUR0DJbAPGpcsNo4rl2LIGU+rcRSdzePiAU/TB2bg6ls9NM5A9d9PodEtgbjAt2cFK2ol2XYSZhgDwH/VF3z0WbaC3tI2K1nmiqqyOv8PKKR3+x8HM9eIFbgDYNssWQtq9qeN2YeM110wxnjRUX6Nm4TgXxhFxrHQTLeQP4T8LytiGbwjAMsgrQdy40in2PhL/9EYvfxTpMDWKIcYgPw5V7BR/7UgmzulnHM2Kq3+YpZ4YCFLMxS0CuwPpAO/YRgHHFPy2 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:(13230016)(4636009)(39860400002)(396003)(346002)(376002)(136003)(36840700001)(46966006)(40470700004)(8936002)(82310400005)(2906002)(6916009)(4326008)(103116003)(316002)(36756003)(5660300002)(6666004)(40480700001)(54906003)(478600001)(26005)(8676002)(41300700001)(86362001)(47076005)(356005)(1076003)(81166007)(2616005)(83380400001)(186003)(426003)(82740400003)(70206006)(36860700001)(336012)(40460700003)(70586007)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2022 12:59:26.1985 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 191067c9-fd26-4387-61f5-08da8699a3cd 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: BN8NAM11FT025.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5961 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
zynqmp_gqspi driver updates
|
expand
|
diff --git a/arch/arm/mach-versal/include/mach/sys_proto.h b/arch/arm/mach-versal/include/mach/sys_proto.h index 05934c28d6..8e5712e0c9 100644 --- a/arch/arm/mach-versal/include/mach/sys_proto.h +++ b/arch/arm/mach-versal/include/mach/sys_proto.h @@ -3,6 +3,8 @@ * Copyright 2016 - 2018 Xilinx, Inc. */ +#include <linux/build_bug.h> + enum { TCM_LOCK, TCM_SPLIT, @@ -10,3 +12,9 @@ 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; +}