From patchwork Fri Mar 24 15:51:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Kerello X-Patchwork-Id: 74619 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp734227vqo; Fri, 24 Mar 2023 09:02:57 -0700 (PDT) X-Google-Smtp-Source: AKy350ZqW+zaYaD6WNId/vfmgGKX1iTEe/ONSD6CSGDw4AuiN1lHqlSz5eyJjcYWOYCnYd3ajG60 X-Received: by 2002:a17:906:4ed5:b0:8af:2a97:91d4 with SMTP id i21-20020a1709064ed500b008af2a9791d4mr3264710ejv.14.1679673777469; Fri, 24 Mar 2023 09:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679673777; cv=none; d=google.com; s=arc-20160816; b=gEj7uspxTlZ5bTOpZqLuA0MWRQQo2fMRE4W3cA5WQEmRyQyzpESS0a/zxW8sTvzj0H mXD8XsydShndEoLi0D6HQ72kHdg+lQjAsXX0n4gjqC2K/B1F9E21W58nUlnHSe84l7Gt GxC+wehrN88fySym4chqV9szvjmHaO+yWo8A8utISoTTTrQJ7t3eU1FU4OnyMV94NjCe VZViYRzS5gOQdSNQUqczue5+k1E7UPhCIxjQJprF1e8i/619eF8o+tcbMeYI/8uCIZSf pnJJbOZZVv5ugqub4Y/gjwfZ2IoowvZOceooFD0HjPB8zHZsuOCPO5YE0iXD5i8zrj3y leYA== 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 :dkim-signature; bh=JFtlxCELTTuNK4fwI5IIBKgcJAW7TQM275B47uT8+VM=; b=rJWD30UblOf4Idb21Bezf0jxYctlr1NCURGoobrLtxSEnCZh5gfiaYjt74+Re0N7rd cP3Fry6F7doqXtG8kjdzP4XEUGYv3N0wR1W0E2nieLPoebUR/8L5bSJ/mrgrCZyXBmcT pUfMtczaU6MonGcta0DFwEfA9LCi+1wsbLPHrajXmRxWFTN7h5H+nd9+qnuKOiXfBI50 cvHn6x12TmNa+OqCJNiF1ja9LtIDgc8zoQtJ1X55gvm9KKy8SyctC2ZkeB7zz+gm0mnI 2h1Am8WTZfs7cuuqYFRBt7eiBlu+4lKzNn5jZ70FQbgW074/IxReVvBtKaQrRcRrn3Ho 1W8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=zk5tQtxI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb21-20020a170906a45500b0093035faa90bsi1467602ejb.79.2023.03.24.09.02.00; Fri, 24 Mar 2023 09:02:57 -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; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=zk5tQtxI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232270AbjCXPwx (ORCPT + 99 others); Fri, 24 Mar 2023 11:52:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231748AbjCXPww (ORCPT ); Fri, 24 Mar 2023 11:52:52 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8675A10A87 for ; Fri, 24 Mar 2023 08:52:49 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32ODHvwE010735; Fri, 24 Mar 2023 16:52:27 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=JFtlxCELTTuNK4fwI5IIBKgcJAW7TQM275B47uT8+VM=; b=zk5tQtxIrDt3yVQLjCl9PmfjPjSXrkJFdvZxtEDYmLVsTX2OnHyg/jafqNHH5wNAbuKe +QjiOIP97uXKdcqCEzwSz59GgFgWRWg6qA+tASLygmgZ6PO0PKk9CtRKgweufXp42Rql 869FyEtHCXUml+QxmyapVGsvudYdwbD+bKhDnL1QJs96j32o+yeO66tPv9bXE3Ctf4Mh 9M11dKPwJ0sJr51lAbqKgYIARSESkHrtA1VFIgDGDJRQKuz92Ul4BxzKEpQ6mOOI5yfe +gXGA4ORG450d6zcZQgGW/6/cDMhRPL16QGJjqgU90Xp1mrjYkYuTAJWiU2BZTyAsHcq Eg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3pgxjcduna-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Mar 2023 16:52:27 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1B4B8100039; Fri, 24 Mar 2023 16:52:23 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 024F6218632; Fri, 24 Mar 2023 16:51:52 +0100 (CET) Received: from localhost (10.48.0.175) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Fri, 24 Mar 2023 16:51:51 +0100 From: Christophe Kerello To: , , , CC: , , , Christophe Kerello Subject: [PATCH 2/2] mtd: rawnand: stm32_fmc2: depends on ARCH_STM32 instead of MACH_STM32MP157 Date: Fri, 24 Mar 2023 16:51:05 +0100 Message-ID: <20230324155105.826063-3-christophe.kerello@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230324155105.826063-1-christophe.kerello@foss.st.com> References: <20230324155105.826063-1-christophe.kerello@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.0.175] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_10,2023-03-24_01,2023-02-09_01 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761265610985821357?= X-GMAIL-MSGID: =?utf-8?q?1761265610985821357?= To be able to compile the driver on all STM32MP SOCs, we move the "depends on" on ARCH_STM32. Signed-off-by: Christophe Kerello --- drivers/mtd/nand/raw/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index 170f1185ddc4..b523354dfb00 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -373,7 +373,7 @@ config MTD_NAND_TEGRA config MTD_NAND_STM32_FMC2 tristate "Support for NAND controller on STM32MP SoCs" - depends on MACH_STM32MP157 || COMPILE_TEST + depends on ARCH_STM32 || COMPILE_TEST select MFD_SYSCON help Enables support for NAND Flash chips on SoCs containing the FMC2