From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 15 Jun 2021 15:55:59 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lt9Xp-0008IV-0w for lore@lore.pengutronix.de; Tue, 15 Jun 2021 15:55:59 +0200 Received: from [2607:7c80:54:e::133] (helo=bombadil.infradead.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lt9Xk-0005JQ-76 for lore@pengutronix.de; Tue, 15 Jun 2021 15:55:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0K07zVeeWpQzqYBy7aHoWIiGlDJauFMGquAiQA+IpWk=; b=HwbmNKK7ZpHkQp aW5Cw/6ZAp4Pg7OapPFckao7OcFksFYF+/ZRiEeQvcYY0KKHJ9kEPatDbTTBykNoo7k285S8H9QLc tnO3+cxrtGDVmZ6zQHK4CuFglxj4Lc+cdoZrKXGcbcxXejM7iw1/KS9r2bd2Nv9mQhwvEYTq7eiAP bc6Ckl7P9tZg3iWaABKUvSfmWea5ed5CGHDMRMhi7PsFn/dZDUTN1h3kSqhGIMTJ93wxai9apAgpV nwPA7twSK4nzIrTgPF+NgKtYczxR350b4SUH3UgJf02a57QowyPqCzz0kXN1zgJxoSPNiA2l4qQcB HUV88HNYpjku+lxeJVGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt9RC-000JG0-Aq; Tue, 15 Jun 2021 13:49:06 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt9Fl-000DDm-Az for barebox@bombadil.infradead.org; Tue, 15 Jun 2021 13:37:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Type:Content-ID:Content-Description; bh=XSDCOzXCAllHLIhETQ6V2utyoIla/lrmk4diuXoGmec=; b=CR10BD0V2ToxwjB+OvnC07y37h unz0pmfrkvM2OiRPfFcRUQnVYuieJLOiArtZsfLFUpEMykSviN97JLGhnLmh83bTuiMgS5K0YLfy+ bW3UWezHAuk/d4mmIvd/6ImvO0szB0IyNoeeEb8DnG47ETx/NMmEBa8JDwREn6rbPEWxrXSIOgj3z RCQYQ5PmuVsjJOcVSVGUqwsKexo/aHh+pl3UNn2BfH0rBEoVxt2UVc3FIVDbJpNwp5Q8vSXt1cOH4 ERuVGGq9wn4iGMJtctnchGdM4vzvCJ5+3gdsdZbaG1NLQ/Q5PBWU8kNTtxZZCQkkX8AT54wVHQ3fd UIRcPhhw==; Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt7Bt-007lvs-3G for barebox@lists.infradead.org; Tue, 15 Jun 2021 11:25:20 +0000 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lt7Bw-0003a0-K0 for barebox@lists.infradead.org; Tue, 15 Jun 2021 13:25:12 +0200 Received: from str by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lt7Bw-0001AY-0O for barebox@lists.infradead.org; Tue, 15 Jun 2021 13:25:12 +0200 From: Steffen Trumtrar To: Barebox List Date: Tue, 15 Jun 2021 13:25:07 +0200 Message-Id: <20210615112508.5489-9-s.trumtrar@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210615112508.5489-1-s.trumtrar@pengutronix.de> References: <20210615112508.5489-1-s.trumtrar@pengutronix.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210615_122516_046708_83CCED25 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:7c80:54:e::133 (deferred) X-SA-Exim-Connect-IP: 2607:7c80:54:e::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.3 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RDNS_NONE,SPF_HELO_NONE,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH v3 09/10] drivers: firmware: socfpga: remove bridges shutdown X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) The bridges are now handled via the bridges driver. There is no need to hardcode the memory writes anymore. Signed-off-by: Steffen Trumtrar --- drivers/firmware/socfpga.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/firmware/socfpga.c b/drivers/firmware/socfpga.c index 605c931604c9..eb3fc557c7fe 100644 --- a/drivers/firmware/socfpga.c +++ b/drivers/firmware/socfpga.c @@ -294,15 +294,6 @@ static int socfpga_fpgamgr_program_start(struct firmware_handler *fh) /* disable all signals from hps peripheral controller to fpga */ writel(0, SYSMGR_FPGAINTF_MODULE); - /* disable all signals from fpga to hps sdram */ - writel(0, (CYCLONE5_SDR_ADDRESS + SDR_CTRLGRP_FPGAPORTRST_ADDRESS)); - - /* disable all axi bridge (hps2fpga, lwhps2fpga & fpga2hps) */ - writel(~0, CYCLONE5_RSTMGR_ADDRESS + RESET_MGR_BRG_MOD_RESET_OFS); - - /* unmap the bridges from NIC-301 */ - writel(0x1, CYCLONE5_L3REGS_ADDRESS); - dev_dbg(&mgr->dev, "start programming...\n"); /* initialize the FPGA Manager */ -- 2.29.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox