From patchwork Mon Jan 15 15:48:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 860956 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=vanguardiasur-com-ar.20150623.gappssmtp.com header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.b="y6fRquwj"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zKySS2zZlz9t3l for ; Tue, 16 Jan 2018 02:48:40 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C9A1AC21CA6; Mon, 15 Jan 2018 15:48:36 +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=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 BCF7EC21D74; Mon, 15 Jan 2018 15:48:34 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3AF2BC21D56; Mon, 15 Jan 2018 15:48:33 +0000 (UTC) Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by lists.denx.de (Postfix) with ESMTPS id BBD76C21D74 for ; Mon, 15 Jan 2018 15:48:32 +0000 (UTC) Received: by mail-qt0-f196.google.com with SMTP id i40so14660502qti.8 for ; Mon, 15 Jan 2018 07:48:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=rFyD6GmCahuTIkOZ6zGOqRq+IIdYPm2qI55kaQxUWkg=; b=y6fRquwjKhUGRtPrmmQwiiw9vElTntYlac/gsYcrrydFnH8UMGgZnA0KhSAJI3tL3c 5hNoJo6MtZpNqfQge+bPhuc9mwluzHacpEJwjraFjk9pDfXtpkchIG5BvuymuZl4mNwv CSN/m8MHaHeOuC9DO68aFk0iLfCNI6qd1lXtIxuhTEgeOjw2iio1fS59lLLrP9EFvB2/ L0CRjnOimTcKewxp00EFuP/wA1oSR/50J9Hkn1e8qDyDCzBlehPpQgr9jA6aks4ZphFf ZO/wiyO69isU6IPjzdGKNp7DJJNIsjCzMAU+EDTIh+RKoqX8rVHJ0/Nu9YkkQoiuBZTC aaVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rFyD6GmCahuTIkOZ6zGOqRq+IIdYPm2qI55kaQxUWkg=; b=LHqrZtdbZDv5ftmglbCgPv0TLW9AlyCs+ZYGHshXD3k4r5h7qXXVvdjMlhahbqfQqw KoReBDCv6jJ61hXh2zIzRh1L9LrmbuXIol05XJflpmL/mXcKWZstHbed/JtmjZ6xzmPe 8U7V6Fq4yYLm8gW/0cRyQcRzDtUziXqJlznLhHBv0Sp/BsQHNnnE7u+JpCT+q55k5bja ramnm5RPq54pZus8SPAPklgoTEJzQNqMYPUzj+YiGtebgG7WQXAGOWzvGk8hd6ayXLMa /b+knniThdH/NOSdmt4682upQ+VvuFD3B6WSgnXHAVIbW6DmwRl/lx4Kjm1WbXFBFaNU GiDA== X-Gm-Message-State: AKwxyteAVGlpMpTWqSZiZF5wlpiDiAYLKokht/OUAJ8y3TxDGTlDXAaN +Ds5jth/f+GkuIf0OHmz7TorAjI5 X-Google-Smtp-Source: ACJfBostNdIKx2RhhClqQ6Sg9uFeeKP9G+feXwbe7J8bhDjiNJ4A58QqhxMufG8PSCWfyvgRJL10+Q== X-Received: by 10.200.48.71 with SMTP id g7mr3437580qte.317.1516031311621; Mon, 15 Jan 2018 07:48:31 -0800 (PST) Received: from localhost.localdomain ([190.210.56.45]) by smtp.gmail.com with ESMTPSA id a19sm17427585qtj.74.2018.01.15.07.48.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jan 2018 07:48:30 -0800 (PST) From: Ezequiel Garcia To: u-boot@lists.denx.de Date: Mon, 15 Jan 2018 12:48:12 -0300 Message-Id: <20180115154812.10013-1-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.15.1 Cc: michal.simek@xilinx.com Subject: [U-Boot] [PATCH] nand: arasan: Select CONFIG_SYS_NAND_SELF_INIT 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" The Arasan NFC driver requires the self-init mode, so it should select it. Instead of having the config header define the macro, it's cleaner to select the option at the Kconfig level. Signed-off-by: Ezequiel Garcia --- drivers/mtd/nand/Kconfig | 1 + include/configs/xilinx_zynqmp.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index 78a39abf7542..97ec6cf5f9c3 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -123,6 +123,7 @@ endif config NAND_ARASAN bool "Configure Arasan Nand" + select SYS_NAND_SELF_INIT imply CMD_NAND help This enables Nand driver support for Arasan nand flash diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 9997fd095982..d883897c6cc2 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -76,7 +76,6 @@ #ifdef CONFIG_NAND_ARASAN # define CONFIG_SYS_MAX_NAND_DEVICE 1 -# define CONFIG_SYS_NAND_SELF_INIT # define CONFIG_SYS_NAND_ONFI_DETECTION # define CONFIG_MTD_DEVICE #endif