From patchwork Sat May 27 16:44:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artur Rojek X-Patchwork-Id: 99853 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp476496vqr; Sat, 27 May 2023 10:22:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6vpLMaibTpG3ljy3W5XAugPbNPGA3RN5/7WuuIWskPyKz34/EnXKH4QKBDwA+8GZksftbz X-Received: by 2002:a05:6a00:14cb:b0:64d:5b4b:8429 with SMTP id w11-20020a056a0014cb00b0064d5b4b8429mr10597724pfu.18.1685208147804; Sat, 27 May 2023 10:22:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685208147; cv=none; d=google.com; s=arc-20160816; b=P/r2UxmEKvxxOA1WLI2yIpHhRdvymkZCuVoDLkt1G3PMhm7j8qitBtYvs4zWOrWH8D Qn6Kf83JVdTdja2PvPOf3FVFe6+9OsXwhK6uM2dAFn4rsUdFzMoqDwu0i9BUO/3vmu+E nxV2O7uWRIKT/WpUsQFFlNp1pmC+EVHs39qykQG8rROJQB04IpNx7FmaY51Ia8jYhFXS PDOFHHj0FX+OERR+6GcOnRwN7XDToYiXPslzVrCiQ1ti3A45nydckyhjDiaCLwdzV2w4 2fPNzZpYOx5Sx1S3dO2DTM5cWZ4m53j724sHVsdw048pBq/0UJO1rQBkVpd+YQ3m6eSC Cl2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=lZUVrU5LPHlDr+JqLeplkH0erKRFf6D2K4enMwwc+A4=; b=OwLa9QyAM2eWg7rFlYyvq81HiDTsCT48a2t68X/zS5YhNDdng1e4looBXdRj8YFgYn xmA/I/x0sS1SIG79AcoqLg9NAmj48QpO5x/MCAFqUS3iDePHB/OdXCnNE1aX9WG6/dDa xbR5BWucHpGLbvlFjc6+V7VQv8BXwmr8dFF5Mi9tVxGymbFAIkqxon/TunQjSr+PQgwE fdwFQgvuomToVGWC4QmH9Ex2H+6OxjUJEKjwLLJRX4QM8JbG6+UQztKW4roLQ/lEaINp QEAAPkEMuANZ9Z32Zq+rUr2o5qs/JuGLK4e/85E75HL95zyaTVN7U2ige5TYCsvyjM4e J1Yw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020aa7948b000000b0064d4963f75fsi6605919pfk.193.2023.05.27.10.22.13; Sat, 27 May 2023 10:22:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230047AbjE0Qpc (ORCPT + 99 others); Sat, 27 May 2023 12:45:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjE0Qp0 (ORCPT ); Sat, 27 May 2023 12:45:26 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D95189E; Sat, 27 May 2023 09:45:16 -0700 (PDT) X-GND-Sasl: contact@artur-rojek.eu X-GND-Sasl: contact@artur-rojek.eu X-GND-Sasl: contact@artur-rojek.eu X-GND-Sasl: contact@artur-rojek.eu X-GND-Sasl: contact@artur-rojek.eu X-GND-Sasl: contact@artur-rojek.eu X-GND-Sasl: contact@artur-rojek.eu X-GND-Sasl: contact@artur-rojek.eu Received: by mail.gandi.net (Postfix) with ESMTPSA id 3FB2020008; Sat, 27 May 2023 16:45:14 +0000 (UTC) From: Artur Rojek To: Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Geert Uytterhoeven Cc: Rafael Ignacio Zurita , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Artur Rojek Subject: [PATCH v2 2/3] sh: dma: Drop incorrect SH_DMAC_BASE1 for SH4 Date: Sat, 27 May 2023 18:44:51 +0200 Message-Id: <20230527164452.64797-3-contact@artur-rojek.eu> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230527164452.64797-1-contact@artur-rojek.eu> References: <20230527164452.64797-1-contact@artur-rojek.eu> MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767068818847804752?= X-GMAIL-MSGID: =?utf-8?q?1767068818847804752?= None of the supported SH4 family SoCs features a second DMAC module. As this define negatively impacts DMA channel calculation for the above targets, remove it from the code. Signed-off-by: Artur Rojek Reviewed-by: Geert Uytterhoeven Reviewed-by: John Paul Adrian Glaubitz --- v2: new patch arch/sh/include/cpu-sh4/cpu/dma.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/include/cpu-sh4/cpu/dma.h b/arch/sh/include/cpu-sh4/cpu/dma.h index 38187d06b234..e97fb2c79177 100644 --- a/arch/sh/include/cpu-sh4/cpu/dma.h +++ b/arch/sh/include/cpu-sh4/cpu/dma.h @@ -13,6 +13,5 @@ #define DMAE0_IRQ evt2irq(0x6c0) #define SH_DMAC_BASE0 0xffa00000 -#define SH_DMAC_BASE1 0xffa00070 #endif /* __ASM_CPU_SH4_DMA_H */