From patchwork Wed Dec 6 04:51:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 120788 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6606941qgn; Tue, 5 Dec 2017 20:52:37 -0800 (PST) X-Google-Smtp-Source: AGs4zMbKSt4ZRAlp0S6dJAEwbNwWFqHhhWTlLA2omtukgZEVmkQaCw+BczQSBQqZprs8UdbLYcnX X-Received: by 10.80.244.194 with SMTP id v2mr38851639edm.68.1512535957056; Tue, 05 Dec 2017 20:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512535957; cv=none; d=google.com; s=arc-20160816; b=VJOsM9Ch81dXb1K4JpgrZc005Ld3z7aKHnrQ3gOzxAl0JFgDgancrLIH3SuG6kcRVr LrxYTKTAFBbbx9zqu5OBRWvsJPBGMlp0TKZurvcSeyNT9rL/vuv5rpdO9+sLRd6sxNP7 vsywqani5wNVtTb6Cqt+zHruH3YOwgRuKTKq42zDooEFQ7QLzuLu9I9e62qPRwxxvevu CJUlOjevr1iUmz8Uh0F1w5BcV7b9z/A26rXflpv1amgLLbY2XSvO1+YnTJUBsW3JgUrE d9uq2Jxe6GxyJ0V1LiREoJH8SRgAFCirIAFWK8DNEosNcRTSkTz9aCfNc1wYJakKdLr/ I2qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=78NPtXedAM2zU6SfpJHBiMGtX8B5jcNStYA7TV5qjBg=; b=Vo0/lhdBikat4GW/kPx3SiU6qf+heXLtjql+FY+pDm7lbus94QHDZ6u2FhL6USbmBW ipaN2nkThpG60lyCZFdQsxwpzzVNzdWuvkQ18T8dl7OSA1aYBmsHK5NFw8jMl18WqlK/ S3FHsvwCWO4iQLappTEeO/1Sdp9EdIit6yIx75W/LcoCScm7bbXZzuD+7VwV+NtZGHSx N3vt0R+eKcvopc670/0ZetwbN/uqjvBKMpxU/lX1OsBMcbdoqC/rOQhLPlELWU1Szqxu qabsa8WPs3fSQR/xQcdCLjxx4GS+uMzr3SCn6p4GFhFjBM9lRsT34K6pI/dTvetURc9x hPIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=Opw86tSo; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id f27si1542231edj.412.2017.12.05.20.52.36; Tue, 05 Dec 2017 20:52:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=Opw86tSo; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 3D34BC21EC8; Wed, 6 Dec 2017 04:52:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 8E734C21DCE; Wed, 6 Dec 2017 04:52:30 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0CCABC21DE7; Wed, 6 Dec 2017 04:52:28 +0000 (UTC) Received: from conuserg-11.nifty.com (conuserg-11.nifty.com [210.131.2.78]) by lists.denx.de (Postfix) with ESMTPS id B17CCC21DCE for ; Wed, 6 Dec 2017 04:52:27 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id vB64proB027221; Wed, 6 Dec 2017 13:51:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com vB64proB027221 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1512535914; bh=CKYMoggES8MeqB9poECzI5gxtGx/qqXz4ganLa2nkh4=; h=From:To:Cc:Subject:Date:From; b=Opw86tSoSQIeIiednhW71xoDCbAmSfYuUYk9eUmJJYDYp59w10fmaU+LghC7leB9Y 7ygSQ98d3Uz61wO/hd5rAglnR9nCL8VHfVGNPRDsTiraiOfmowFI1bLKBw9jEOvPbS e2h7WEVsIGhKc0/VInxdulq3gXYjYS5mRsyL+4OsZlGRb6umGWlzADr+QBSAd8P3YM syZkgol+INZ6HsjVv6107x7oAVhGmPw/EOb1zkB0Jd/WE29+IAVvlztfcSQ1/dkA/G HxEzz14xy2Jo5+Pmefc3+rzv6anJcdT4TLKe8WPOw1IT+cqCAFFo4wtqaYM1T7qLdd UPrispoxk4N1Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Wed, 6 Dec 2017 13:51:50 +0900 Message-Id: <1512535910-2593-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Scott Wood , Scott Wood Subject: [U-Boot] [PATCH] mtd: nand: denali: make NAND_DENALI unconfigurable option X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" denali.c has no driver entry in itself. It makes sense only when compiled together with denali_dt.c Let NAND_DENALI_DT select NAND_DENALI, and hide NAND_DENALI from the Kconfig menu. Signed-off-by: Masahiro Yamada --- drivers/mtd/nand/Kconfig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 47ec435..78a39ab 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -10,15 +10,14 @@ config SYS_NAND_SELF_INIT NAND initialization process. config NAND_DENALI - bool "Support Denali NAND controller" + bool select SYS_NAND_SELF_INIT imply CMD_NAND - help - Enable support for the Denali NAND controller. config NAND_DENALI_DT bool "Support Denali NAND controller as a DT device" - depends on NAND_DENALI && OF_CONTROL && DM + select NAND_DENALI + depends on OF_CONTROL && DM help Enable the driver for NAND flash on platforms using a Denali NAND controller as a DT device.