From patchwork Wed Mar 11 17:35:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 184421 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp886629ile; Wed, 11 Mar 2020 10:39:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vviJvSyzZZGnifzXPkFno1zl5wNI0/J1M8xoSqAgoeUaJC1OutmLM2p0/h9jz+uP+b4aClI X-Received: by 2002:aa7:9732:: with SMTP id k18mr3972144pfg.231.1583948372371; Wed, 11 Mar 2020 10:39:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583948372; cv=none; d=google.com; s=arc-20160816; b=PFdjLRmNELFY1Dul+eDqh2EUSh3HkCNClP+40qK/H3ALTJgdEs84+ps6VxfEpkDtNM gTsGNmzQ2KSYQGUHe05HE2bWgj90DYYFOxb7XJdgRdhltcwO7IyZrG/vTg7ETJrWpfmq cQOYBrYjW9+OgKwl7IulDaCQ9B40DygHq8b03B6gdpVGsyvgCKEiJ9KQIauGpFkkRiwO eYcL+ZogmpUE8CPLXo3frNRupZckBtvV3miMH+wNJgOPLkytWYvHOYbq/IXrzsBLNhC/ wOHhXSr25u7SUUvhb3IGREhQvujI/CX8VDL0HzCi5UTL47EQ7lE7nb23mdn7f3Dssf9X naeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature; bh=B9SHR/rMd5xbKQ8NgFTQm/A4+cwxi2TfKexdy6G70U0=; b=yflpcE+E9tbayWxax/OW2oNbq0gHXNygdAPEaBQR0TVA6BFYE60PRSV2eksqqqfT7C hoQoyCJYULS0PJeROUJQs+UUrrt843jdo4YiHvQKJ6y8dbzxzXsnIkAQ6hbXmzTLjc4Y u1fd1zuxn101G3qstH1ylXLvp4SQZP3ERmMSXsTKRh34nqvscfqCEkLsWyT+YomPkswF u71zFBwwxyBpZDmbIAFHmnBZ2u69tb8SnenDwF29ZVKmaakUWpkz5/VjRsSt6EVSEEQh QU4c1cUW5GJrfgg+RRz5PkxoUJGOVzyLVfCzit6s5gTDeSVaRr7x39ywNUfr5UcsVlgb 4ROg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=eebrAV0d; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org" Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id i76si2113690pgc.219.2020.03.11.10.39.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 10:39:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=eebrAV0d; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=B9SHR/rMd5xbKQ8NgFTQm/A4+cwxi2TfKexdy6G70U0=; b=eebrAV0d9RwCDD r4ISWqzD048OzHfYHSofCPS6u3ujvgaAaF5PQMALLJlFZL4XZ2TX5GEBAoPFv3Y7hGrceXOWv3RFM mI+VW56vLaPpR3Q+LR6aNDq9b+W/HS4D7mvwkt3Nu9BaF7+mOUOGRmj/g3nRiUWs3H6Bf9H7WjqzA TdNF83J92nGAnVCEo11TNZlpVZvnrfsFG/NReogZUn6z4vDWtiYg4eqwArlZuDLLB7iwlT/h9hdhv L01wmuNNwed6CDWR7Z9+eJU8QOfPkB0Sid4+k8GM2Lzn+nNWYrt+q2gCixZ3A//2lnRVmJrAd2Jw7 t09sU22nmuyy8NuRSXAA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC5KG-0003xi-4X; Wed, 11 Mar 2020 17:39:24 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190] helo=huawei.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jC5KD-0003wc-8s for linux-mtd@lists.infradead.org; Wed, 11 Mar 2020 17:39:22 +0000 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 43322579B4F62CF1EA02; Thu, 12 Mar 2020 01:39:17 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Thu, 12 Mar 2020 01:39:08 +0800 From: John Garry To: Subject: [PATCH] spi: Stop selecting MTD_SPI_NOR for SPI_HISI_SFC_V3XX Date: Thu, 12 Mar 2020 01:35:15 +0800 Message-ID: <1583948115-239907-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200311_103921_500253_EB67C22E X-CRM114-Status: UNSURE ( 6.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [45.249.212.190 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sfr@canb.auug.org.au, John Garry , Tudor.Ambarus@microchip.com, chenxiang66@hisilicon.com, rdunlap@infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-next@vger.kernel.org, linux-mtd@lists.infradead.org, joe@perches.com Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org By selecting MTD_SPI_NOR for SPI_HISI_SFC_V3XX, we may introduce unmet dependencies: WARNING: unmet direct dependencies detected for MTD_SPI_NOR Depends on [m]: MTD [=m] && SPI_MASTER [=y] Selected by [y]: - SPI_HISI_SFC_V3XX [=y] && SPI [=y] && SPI_MASTER [=y] && (ARM64 && ACPI [=y] || COMPILE_TEST [=y]) && HAS_IOMEM [=y] Since MTD_SPI_NOR is only selected by SPI_HISI_SFC_V3XX for practical reasons - slave devices use the spi-nor driver, enabled by MTD_SPI_NOR - just drop it. Signed-off-by: John Garry -- 2.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 66c6c0d77ea7..ad1a2547a414 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -299,7 +299,6 @@ config SPI_HISI_SFC_V3XX tristate "HiSilicon SPI-NOR Flash Controller for Hi16XX chipsets" depends on (ARM64 && ACPI) || COMPILE_TEST depends on HAS_IOMEM - select MTD_SPI_NOR help This enables support for HiSilicon v3xx SPI-NOR flash controller found in hi16xx chipsets.