From patchwork Wed Sep 25 14:11:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1167260 X-Patchwork-Delegate: bmeng.cn@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=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="ZWHHY0AZ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46dg4w2Fvpz9sNx for ; Thu, 26 Sep 2019 00:13:04 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id DFC47C21F58; Wed, 25 Sep 2019 14:12:29 +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_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 F1415C21FCB; Wed, 25 Sep 2019 14:12:27 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 12835C21FF7; Wed, 25 Sep 2019 14:12:15 +0000 (UTC) Received: from mail-io1-f65.google.com (mail-io1-f65.google.com [209.85.166.65]) by lists.denx.de (Postfix) with ESMTPS id 9B6A0C21FEF for ; Wed, 25 Sep 2019 14:12:15 +0000 (UTC) Received: by mail-io1-f65.google.com with SMTP id h144so14161289iof.7 for ; Wed, 25 Sep 2019 07:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e5Ib5drMliGaf8+CQrF23MiZguWZCm3JfZKDQ2b0DBg=; b=ZWHHY0AZt//lzyNnlgo+U9VmZpZUQEgyqgpk2wBaPzJ5lDOd0DreL8EFc//shU8S7E a2jWNTIGKBGBvZRCvGO1nUtuwDC7K/kqLjruIjL5jEpXqq4I4SxvBTIQOMRMC+W6HGy4 kqIq80FaEqD2xtjy+yYbVnwzTQjjyBXJJMLuU= 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=e5Ib5drMliGaf8+CQrF23MiZguWZCm3JfZKDQ2b0DBg=; b=BdcQ0xt1ITRy1Lifdvo3Gskw4ZLH4xqRK3eQuTIfkbRPJQLMfUfyje0fEdoy6DmhzD 9zdb7nvHFJgKNp3fK3WIGGL6mbYcSQCKiXHtnRILCZwL3RIkR64YOymZ6Oy0Autk5Mdv Q9kXd1dsUjAVM1fcb51R38Jngq+vckyFWJgphlXRnp2emVe/nTKhmzvU1zkBite3iQYX f39RdIohNexLu+UL1ptDIh789KR1BRvDfQ38HJckyqHpGTEWamvVZHGUrjeS8Ufh7Wdb 1Qoio5WqABOfSQe1ltkxFf2u6t270WKB+wTZNjEulPCKc7mKuPRRJEOqQGq5xv/HW87u z2NQ== X-Gm-Message-State: APjAAAUJgt2ecqFxVFCBkuY2lZzARvyln3SWBVEdkrtF8izbWDGN/fLo zzB+dq8kKs7AeN9sqqIVMj2afKPyXUI= X-Google-Smtp-Source: APXvYqzAXkBlnhttw1aVAfCSCEdhEDhy5k4tmg5YStr7cSfUk8vFoz9LzHTjpIvEwLPBPqkoLjeqww== X-Received: by 2002:a5e:8618:: with SMTP id z24mr7798272ioj.67.1569420734210; Wed, 25 Sep 2019 07:12:14 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id d20sm196878ilk.83.2019.09.25.07.12.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 07:12:13 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 25 Sep 2019 08:11:17 -0600 Message-Id: <20190925141147.191166-9-sjg@chromium.org> X-Mailer: git-send-email 2.23.0.444.g18eeb5a265-goog In-Reply-To: <20190925141147.191166-1-sjg@chromium.org> References: <20190925141147.191166-1-sjg@chromium.org> MIME-Version: 1.0 Subject: [U-Boot] [PATCH v2 08/38] spl: handoff: Correct Kconfig condition for SPL and TPL 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" At present these options can be enabled when bloblist is not enabled for SPL or TPL. This is incorrect as SPL handoff requires bloblist. Fix it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None common/spl/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index f467eca2be7..62b93c112b1 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -115,7 +115,7 @@ if SPL config SPL_HANDOFF bool "Pass hand-off information from SPL to U-Boot proper" - depends on HANDOFF + depends on HANDOFF && SPL_BLOBLIST default y help This option enables SPL to write handoff information. This can be @@ -1185,7 +1185,7 @@ if TPL config TPL_HANDOFF bool "Pass hand-off information from TPL to SPL and U-Boot proper" - depends on HANDOFF + depends on HANDOFF && TPL_BLOBLIST default y help This option enables TPL to write handoff information. This can be