From patchwork Sun May 19 13:52:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1101564 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=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=konsulko.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 456Np84X8gz9sBK for ; Sun, 19 May 2019 23:55:28 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CA239C21DF3; Sun, 19 May 2019 13:53:51 +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 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 62FD5C21DDC; Sun, 19 May 2019 13:52:45 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3BD7DC21DB5; Sun, 19 May 2019 13:52:28 +0000 (UTC) Received: from mail-yw1-f68.google.com (mail-yw1-f68.google.com [209.85.161.68]) by lists.denx.de (Postfix) with ESMTPS id 2A446C21DB5 for ; Sun, 19 May 2019 13:52:25 +0000 (UTC) Received: by mail-yw1-f68.google.com with SMTP id w21so4769547ywd.6 for ; Sun, 19 May 2019 06:52:25 -0700 (PDT) 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; bh=4e+s+jmaDWItARUBlmyk93rrkJfzktsD/wO5E9JLFhY=; b=RiFe9fQUG4blHyzudpma2AiadbnNztjCDyFCmtl6zzVEv/xJrClMs5dCF+gcQxOnDe PtvkV5p9NzbuYAeIY+IgF5fZgePiW3O3bX5sKMNVK9YpboE1sKoJgTsWmm6oEqLYCGVO NrU1a99fRNsxcBKPRB72b12oqWRhPiuU5omFIvKkrtM/sxHE5qWVKJrHsi2oEXbIblOQ yVzCfTZUAVrJD/7N2NpJBUeFEfqc6Te0YL8KDhWNZTcACgqcZ7yUq+wwsbieD5FkTk/v Vun7YVkW8XR0OsSuQLRgpFFrQROfi1ZaFjIVcOnKLDnHdLdJaK5DQr7Ub/i8wr0ohF1d KOMw== X-Gm-Message-State: APjAAAXu0/1yHAdW0aEo13DkeX8MHIZqHxbvFrzQl39Boqr6qsEOU4yJ lhC5XBaOk132s2uGrVqBQpaYIrc= X-Google-Smtp-Source: APXvYqzdxa+gKF/BbLckDBId1mcIxxOXxBwZ53A30zM87iEbW4zcBMscLFlmjw2QD8PXHe786dUiRw== X-Received: by 2002:a81:4d8a:: with SMTP id a132mr32765222ywb.326.1558273943958; Sun, 19 May 2019 06:52:23 -0700 (PDT) Received: from bill-the-cat.local (cpe-65-184-141-147.ec.res.rr.com. [65.184.141.147]) by smtp.gmail.com with ESMTPSA id v128sm4053392ywd.24.2019.05.19.06.52.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 19 May 2019 06:52:23 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Sun, 19 May 2019 09:52:08 -0400 Message-Id: <1558273931-1415-8-git-send-email-trini@konsulko.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1558273931-1415-1-git-send-email-trini@konsulko.com> References: <1558273931-1415-1-git-send-email-trini@konsulko.com> Subject: [U-Boot] [PATCHv2 08/11] spi: Kconfig: Mark SOFT_SPI as DEPRECATED 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" From: Jagan Teki Mark SOFT_SPI as DEPRECATED, this so the resulting build shows warning for deprecated configuration enabled and associated code will remove in v2019.07 release. Cc: Vasily Khoruzhick Signed-off-by: Jagan Teki [trini: Switch to DEPRECATED] Signed-off-by: Tom Rini --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 9aac500bb187..e5477d5a110d 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -303,6 +303,7 @@ endif # if DM_SPI config SOFT_SPI bool "Soft SPI driver" + depends on DM_SPI || (DEPRECATED && !DM_SPI) help Enable Soft SPI driver. This driver is to use GPIO simulate the SPI protocol.