Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1011297iob; Fri, 13 May 2022 19:32:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwWnXWqgCE8TOCzbvCIeNCFwzMro2D/Ca14aOEBrP47znjyW5aWm9JMjawA0cfnZKQ6WCc X-Received: by 2002:a05:600c:21cc:b0:394:12ff:dd8d with SMTP id x12-20020a05600c21cc00b0039412ffdd8dmr17473134wmj.132.1652495568536; Fri, 13 May 2022 19:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652495568; cv=none; d=google.com; s=arc-20160816; b=lf5Uoah2FKaCQh6gQ46sz5Q/ssW/vaougXLYEnpgt2rA35iM+tfWsE7Y6cvdaB383Y O3Q+bxtc4HTWsyJP/4sLWN61w3Bnr9l8gJ/US4c4ml/K5Ukn9XvTxbFizCrkJXeE/OCz 6TjoNcARiBcgSw6wV2t4TXkInxmpcVnKdlyim+e6sujdpDiwwSwz/qQaKNRuvjyb4200 o9yz7RrxdgcCwXDBhzIcuduG90l/f9WuFNh8KAk5RYIX9kenzx2x+zkHYPzEOfq5H6pW hCJdCCSkdxfta1hjDD4ZOIvp4f7/ul0YPCmG4q7WxDMSLvbtt/BNssKiEH858BFyZZws IA7g== 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=so0UQipUdKDe8ooC1ldtUKaBqHHt2wI5r8cjBJFcJKM=; b=bb0KTfNzoXEeV6/yLM4pSf+cJ4+YEzxdWmJQFjzXdWaMX7FaJy4N+hiSjz/002k+gH YdGC8Da+Z9VeuXmOW12v7NIq0Qh/+rJqh0wwpDfgSGcCGcunES0UhjHWN4asIV20Tygf HxpDjP8sCmMDTsATfDgcGQVi6rpmzJlZXne5whpf3AD3svDZSt1ZxGEdyK0FJbY2/Cnx r+RjZ/k+HfkXbxvZkotaJ3rL5mpavcwuMQHbW0BWdAB+yHf5CHYb2ePommqwvkn8NfwO evYCBai+2aZOkHEYHiQ5av9/el5MMWnkDIYW5f/FNGk7TVEbFGLsAnNJmWIB4fWwm12a wf6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=aFBXvEVB; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h3-20020a05600c414300b003944549df4fsi3926133wmm.74.2022.05.13.19.32.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:32:48 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=aFBXvEVB; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D871332E612; Fri, 13 May 2022 17:45:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355953AbiELP1t (ORCPT + 99 others); Thu, 12 May 2022 11:27:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355954AbiELP1s (ORCPT ); Thu, 12 May 2022 11:27:48 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 783876FD3B for ; Thu, 12 May 2022 08:27:46 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 0BD18FF80F; Thu, 12 May 2022 15:27:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1652369264; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=so0UQipUdKDe8ooC1ldtUKaBqHHt2wI5r8cjBJFcJKM=; b=aFBXvEVBwohTzze5N6XsrVxq2wyQUP0l5BDHVk0yiodNk/xZfl2nrxxfWPOPWtxXTRyKWD MbEEvRzD1lsTnHoluE5edyGBPQW1+qItAoHUIQvIln4Bw5a53Jd3F8pGwZAU0+yd0Cgneh IMyi+8Q0a0iGuYcUQq+rlEZeGcfpPNU2RJiC3zW2ciG42RG10SwiAv/3UCHRKZoFWZUZiQ 44qBY5YsFMgJb8bb0tRpsty4i6iexoe6OefVN3rVAxgPamkc0SLHhF6ZCGdol+ipyhUGko K7gDMA/Cs6ipAIuArg6gqPd+75K3fic9NEeJw2cfTkGMh9j9b5GCMaWsIA9LYA== From: Miquel Raynal To: Geert Uytterhoeven , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Matthias Brugger , Chuanhong Guo Cc: linux-mtd@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: nand: MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK Date: Thu, 12 May 2022 17:27:43 +0200 Message-Id: <20220512152743.245075-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'66d7a40beb413815a5b1adbc1558200f5b18d817' Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Mon, 2022-05-09 at 13:50:02 UTC, Geert Uytterhoeven wrote: > The MediaTek Hardware ECC Engine is only present on MediaTek MT27xx and > MT76xx SoCs. The driver for this engine is a dependency for the > MediaTek NAND controller (MTD_NAND_MTK) and the MediaTek SPI NAND Flash > Interface (SPI_MTK_SNFI) drivers, both of which already depend on > ARCH_MEDIATEK. > > Hence add a dependency on ARCH_MEDIATEK to the Hardware ECC Engine > driver, too, to prevent asking the user about this driver when > configuring a kernel without MediaTek SoC support. > > Fixes: 4fd62f15afa0d0da ("mtd: nand: make mtk_ecc.c a separated module") > Signed-off-by: Geert Uytterhoeven Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel