From patchwork Sat Feb 9 12:15:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1039177 X-Patchwork-Delegate: jagannadh.teki@gmail.com 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; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="dtCCKY8N"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43xWJ54VSpz9sML for ; Sat, 9 Feb 2019 23:16:53 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 3CB74C21FAF; Sat, 9 Feb 2019 12:16:15 +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_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 D41B7C21F69; Sat, 9 Feb 2019 12:16:06 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id DD96EC21EF1; Sat, 9 Feb 2019 12:16:02 +0000 (UTC) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by lists.denx.de (Postfix) with ESMTPS id 49153C21EC5 for ; Sat, 9 Feb 2019 12:15:59 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id f132so2951126pfa.6 for ; Sat, 09 Feb 2019 04:15:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NN+XK4cTsiaPIVMOAYNz9aMlFY6HQg99pxqwfXKEeiM=; b=dtCCKY8NwCdaugHPLWAFEElC6c4L2oG+up3NOh5IqpRvEN9uKaM/wiACTlld9aQwLA b3ztnhwkN5SQBnfLcwCQwi/WWTPE13Kfw/cfvzv6b1g+Qk3Q9MF7eW/dIl2nDudVNW+X 7hj4i9Q2nMdVemYGfo5KlrC2JHuMbXmxcPG1c= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=NN+XK4cTsiaPIVMOAYNz9aMlFY6HQg99pxqwfXKEeiM=; b=XR8o5e1By9riSk4v1R0mRZUdcd8z0G+Mi7d20cnck2pCGS7nvRI+i4pC++4btZeFsz IasCNCOYaAQYTnuU6SPxGYun8d14gUnK2arBJhD95g610dEhl5ByqkIJ3MrNBJFWhtsJ z9EphGQX3w8cB4v4qmIloGjQbt11Ms2b4gSSjLf+ASJvwgN8QoEdGE3SzFNaK77Q7rSQ BXhHvru92/pL+XwaOdy2wj/1Y2/E7rAd/B9xPgvwJ4TtvgD4WrDJzePF4JGp1qMvS3ko LDQclZpa4x5wmQSlFxOmnGwScvCLB3SMquJ4ZYr0LQZHahOhWKjPjz73GJgPEbfW91vc NDbw== X-Gm-Message-State: AHQUAuZXgZ/jkUXEeW7yaMDggrc1uB/Az9npJj9+w7rKNA3VV1jd6uhq 6nyRqMcBSQ7+45yajuDVgxtgWbiLClagWQ== X-Google-Smtp-Source: AHgI3IanZMLBNqhI8too6PrgE0Fu0GynL+3sm5/OWpBxHpgVEd0w8ncruCWA+t1RqB7bmHAsbhIjLg== X-Received: by 2002:a63:b24a:: with SMTP id t10mr24399492pgo.223.1549714557526; Sat, 09 Feb 2019 04:15:57 -0800 (PST) Received: from localhost.localdomain ([115.97.184.151]) by smtp.gmail.com with ESMTPSA id 125sm6416071pfg.39.2019.02.09.04.15.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Feb 2019 04:15:56 -0800 (PST) From: Jagan Teki To: u-boot@lists.denx.de Date: Sat, 9 Feb 2019 17:45:42 +0530 Message-Id: <20190209121543.25946-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190209121543.25946-1-jagan@amarulasolutions.com> References: <20190209121543.25946-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Subject: [U-Boot] [PATCH 2/3] mtd: spi: Kconfig: Update CONFIG_SPI_FLASH 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 1) CONFIG_SPI_FLASH is not just a legacy code, but it has common core code which handle both dm and non-dm spi flash code. So fix the info text to make it clear globally. 2) Since it's flash core it shouldn't depends on legacy SPI, so remove the 'depends on SPI' Cc: Vignesh R Signed-off-by: Jagan Teki --- drivers/mtd/spi/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index e3b40fc157..605f60c713 100644 --- a/drivers/mtd/spi/Kconfig +++ b/drivers/mtd/spi/Kconfig @@ -26,11 +26,10 @@ config SPI_FLASH_SANDBOX stored in a file on the host filesystem. config SPI_FLASH - bool "Legacy SPI Flash Interface support" - depends on SPI + bool "SPI Flash Core Interface support" select SPI_MEM help - Enable the legacy SPI flash support. This will include basic + Enable the SPI flash Core support. This will include basic standard support for things like probing, read / write, and erasing through cmd_sf interface.