From patchwork Sat Apr 7 14:05:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 895923 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=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ncUQm8/p"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40JJLd5v45z9s27 for ; Sun, 8 Apr 2018 00:08:09 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 7C7ACC21F32; Sat, 7 Apr 2018 14:07:57 +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=FREEMAIL_FROM, RCVD_IN_MSPIKE_H2, 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 1C966C21EDE; Sat, 7 Apr 2018 14:06:19 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E2290C21E5B; Sat, 7 Apr 2018 14:06:16 +0000 (UTC) Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by lists.denx.de (Postfix) with ESMTPS id 87881C21EDC for ; Sat, 7 Apr 2018 14:05:49 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id d19so133667wre.1 for ; Sat, 07 Apr 2018 07:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=QEQPpqc3xwuhugSJX2So+tTyyzIkqx2wbqSPw/mppQg=; b=ncUQm8/pE1cQH+8cahHCQtTDRhy+wmSNPdCtgXl/ZFkFj+h2HfkuhG12gkfuI1xbZ3 aD8klTvssBAGChgA9hxvXBO7actVviblxsl3y8r3JJIUX2xa0Sz6xfyobOA1vEFUsZt9 GXoa6TsenkWeFqm5QpUZTEGtoHa/GTIAsczaZtVMvEcLMwwZQmHGrj1VrQM1NctsCL3p LesrXwXzPcrR/TJrddEZr70x8ClXP55oLdj+1BdZwS4UdsWCjNnbkbkDxniVsF29DE4v u3XpFa3KpG8PNyPGktqee0R41UvxHvUTC97/NCvnGvhGrNTkn+ohqv/7oZTZkGDyW2Y+ wB+Q== 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=QEQPpqc3xwuhugSJX2So+tTyyzIkqx2wbqSPw/mppQg=; b=iFN5PFhnzUdfeleyDLkof9AnLzaD5gTLTyUspuGwI6vaYGHcaXSPHQ42DpEDLTwIs1 dH2ibHsPzZIbzAp4KCDWFXif8m5WkeGBnM2DR1GCEFRUsDdFSsBvkKL1MouaxEbt0I13 vvfDy894y+XJmbL8uW868tF5/h8FcJ3Gl2QNJf1jpa/mJC8d2hoI2tgx8JUuE+bqK9ov WH7hMgyaUellWQEsn9OY4AfoBQE5xGnhfxYo1hOUoAVWGhTjRkFC3ta4ElcZ74myUn6m glkQWr4TFucTMZHX+5h2j3d06V84h/MTaC1Z8K/3TYW3RAgoX3qmCZmHmxGtOd5fpQja s0mA== X-Gm-Message-State: AElRT7Etd4mhTt0XW377vHSGqfckNw1+KJqzTJVbV/88IA27rBmhtNQY 6HeDGhLy9XB0KM0npkw9POGwC80U X-Google-Smtp-Source: AIpwx4/ICQDf5KzyvlGCpOqLoCj79sbpr19bT+gQzJ+HchWx1FObCOtays8WHI2YN7dRNF6Lw6wqSg== X-Received: by 10.223.227.11 with SMTP id b11mr21361518wrj.197.1523109949015; Sat, 07 Apr 2018 07:05:49 -0700 (PDT) Received: from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id u68sm6111198wmu.16.2018.04.07.07.05.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Apr 2018 07:05:48 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: u-boot@lists.denx.de Date: Sat, 7 Apr 2018 16:05:46 +0200 Message-Id: <20180407140546.10433-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 Cc: Tom Rini , Marek Vasut Subject: [U-Boot] [PATCH] tpl: spi: Add CONFIG_TPL_SPI_LOAD to Kconfig 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" Add Kconfig entry for CONFIG_TPL_SPI_LOAD symbol to match the SPL one. Signed-off-by: Marek Vasut Cc: Tom Rini --- common/spl/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 9697173b83..d0e7d389bb 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -922,6 +922,13 @@ config TPL_SPI_FLASH_SUPPORT Enable support for using SPI flash in TPL. See SPL_SPI_FLASH_SUPPORT for details. +config TPL_SPI_LOAD + bool "Support loading from SPI flash" + depends on TPL_SPI_FLASH_SUPPORT + help + Enable support for loading next stage, U-Boot or otherwise, from + SPI NOR in U-Boot TPL. + config TPL_SPI_SUPPORT bool "Support SPI drivers" help