From patchwork Thu Jan 7 19:21:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 564405 X-Patchwork-Delegate: scottwood@freescale.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0C64C1402DE for ; Fri, 8 Jan 2016 06:23:12 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=l+Scd722; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id DA1E41A1802 for ; Fri, 8 Jan 2016 06:23:11 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=l+Scd722; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id B0D051A17BC for ; Fri, 8 Jan 2016 06:21:54 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=l+Scd722; dkim-atps=neutral Received: by mail-pa0-x234.google.com with SMTP id yy13so173170997pab.3 for ; Thu, 07 Jan 2016 11:21:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=zbBHsjMtwaGNTvb1brDCRmZSg1aQDR5bnai+9S7S7HY=; b=l+Scd722GJQnU3ClwUP+NKHObxzTk0LvaaGTUfOSbpXhkKJSRUDiL8a59S5cTB+tpL lVDc5CvdSJS84JcFRbGHz/QzTHnCeeUufv7Cvv8XMQICsFKnXqgkVrJCjB2gjNyX8clR WEmGhFfqKPc8PyVcfzkUmqov9z7SjyQUt/S//PsEbazSjICi5bI8JwoJxt28gRCfiiZD x3EmoVUH3DY8YZmgHCLkpOLQJ71Da3ju2opUs6A5Fazhtsyuqjs/Sirnopjdk24fJb2p Q06338SaVXBb2+4dwk4ebZycxHzLqhQayCzEy5MRdpAQTkraKUTDsReGBuXE8WyA/Wlb 0vRA== X-Received: by 10.66.216.200 with SMTP id os8mr154214782pac.143.1452194512253; Thu, 07 Jan 2016 11:21:52 -0800 (PST) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id wa17sm92462973pac.38.2016.01.07.11.21.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 11:21:51 -0800 (PST) From: Brian Norris To: Subject: [PATCH] mtd: nand: add FSL_SOC dependency to drivers using FSL_LBC Date: Thu, 7 Jan 2016 11:21:41 -0800 Message-Id: <1452194501-115280-1-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Scott Wood , Brian Norris , linuxppc-dev@lists.ozlabs.org MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" I've managed to construct .config files (for ppc64) that come across this Kconfig warning: warning: (MPC836x_RDK && MTD_NAND_FSL_ELBC && MTD_NAND_FSL_UPM) selects FSL_LBC which has unmet direct dependencies (FSL_SOC) Let's add the FSL_SOC dependency to the NAND drivers. AFAICT, they are only supported on PPC32 FSL SoCs anyway. Signed-off-by: Brian Norris Cc: Scott Wood --- drivers/mtd/nand/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 289664089cf3..13bbceec6b5f 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -427,6 +427,7 @@ config MTD_NAND_ORION config MTD_NAND_FSL_ELBC tristate "NAND support for Freescale eLBC controllers" depends on PPC + depends on FSL_SOC select FSL_LBC help Various Freescale chips, including the 8313, include a NAND Flash @@ -448,6 +449,7 @@ config MTD_NAND_FSL_IFC config MTD_NAND_FSL_UPM tristate "Support for NAND on Freescale UPM" depends on PPC_83xx || PPC_85xx + depends on FSL_SOC select FSL_LBC help Enables support for NAND Flash chips wired onto Freescale PowerPC