From patchwork Wed Aug 19 08:44:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1347614 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=yNluEZ7X; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BWhDn4bnzz9sPB for ; Wed, 19 Aug 2020 18:45:13 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ABF3A8225B; Wed, 19 Aug 2020 10:44:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="yNluEZ7X"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B9B8382262; Wed, 19 Aug 2020 10:44:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9DFF38225C for ; Wed, 19 Aug 2020 10:44:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x544.google.com with SMTP id l23so17418162edv.11 for ; Wed, 19 Aug 2020 01:44:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y7lEgCWzmEuXFLzo0P/EAzW44o0KZm298bUCMWfodig=; b=yNluEZ7Xi3ghSBRUqm/Sar0amHOcGVYd9htGnURAR64AqQrBrjYSlFzTQpY1ahCuf/ yyHr7fM6h38CZFJGmjo0RVqRrCEZS4HU8Y/0xHsY9/h9clZdoiyz4mvmUI5qn93Mw1tr iPh4okh6LBpPV1iSQ1BcfAvRhySAI63WJ0WyFowU8Q/uJ91py2Uvl/iVMB4B7+9QcYYD hUQNujNglQXfCUL8jlDipEAb/IttFjN9hwMA+bIoBoaKaUuqsC0+oTwVcCnqlWZ0YhXo 6WRi1U7jkPiKLco5MghLWWLXSMR8xgiIKohcr+0D9blUGzCy1vLf5Hvm3ds+8pSiR84v x3vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=y7lEgCWzmEuXFLzo0P/EAzW44o0KZm298bUCMWfodig=; b=fOvU4fakVctc6ywJjQlv6HuEpVTbq6yFOQRZOIKVV9dJ3x+Fn7EIQPyc6X6zLB6uwP aav5kkjD3O5QETcEI4ycwl+nIzLeWDMqJH5ndaThfdXt2OxjsVyFmq1OCrN1vx7MnMB2 EHkjdDE7lMf8zhnKbSvkA53+UAG7gIm6+YwQqfq9T4LPJkH4kJja4mchubmeGFKqvHtp zGZh9xejsj/v+vPjsyyYFrI/4Xxo44vohFnu83d4CwtnLAKOM4u+eZneolK/vRLEQaTB qg0p4hhjgQu2TqjCSVhy65JkEHCoDniMWyY/Ajfu4hzQjuHHbpHJSv1eL1a72vz2ZSnt cRqg== X-Gm-Message-State: AOAM5332O3o2TlKp/VL1cgEuR6nIoEl02LU91hQOXmwRMN+Os5udm3Ix nDQTkY/W6mWk1bYu3HCFvyQefrUzUdMDhA== X-Google-Smtp-Source: ABdhPJxce4ONKkCKfwqZ5ogNACCSDhGLU0uwy8MwBbwQ/Mh6qlC5zHfIAByxnsM9Eneyva2/71Usgw== X-Received: by 2002:a05:6402:1430:: with SMTP id c16mr23182647edx.144.1597826671105; Wed, 19 Aug 2020 01:44:31 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id p16sm18108512ejd.27.2020.08.19.01.44.30 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Aug 2020 01:44:30 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Ashok Reddy Soma , Masahiro Yamada , Miquel Raynal , Peng Fan , Philippe Reynes , Stefan Roese , Ye Li , =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Subject: [PATCH 4/9] nand: Kconfig: Change dependency for NAND_ARASAN Date: Wed, 19 Aug 2020 10:44:18 +0200 Message-Id: X-Mailer: git-send-email 2.28.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean NAND_ARASAN selecting DM_MTD uunconditionally. Driver can be enabled with !DM that's why Kconfig it showing it as error: WARNING: unmet direct dependencies detected for DM_MTD Depends on [n]: DM [=n] Selected by [y]: - NAND_ARASAN [=y] && MTD_RAW_NAND [=y] Signed-off-by: Michal Simek Reviewed-by: Tom Rini --- 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 06b2ff972cad..df4cbd52cf5c 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -233,7 +233,7 @@ endif config NAND_ARASAN bool "Configure Arasan Nand" select SYS_NAND_SELF_INIT - select DM_MTD + depends on DM_MTD imply CMD_NAND help This enables Nand driver support for Arasan nand flash