From patchwork Wed Jan 30 03:59:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1033264 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="P8Q0sVDe"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43q93M62jTz9sBQ for ; Wed, 30 Jan 2019 15:13:51 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 84E2CC21E16; Wed, 30 Jan 2019 04:06:21 +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 37730C21DF8; Wed, 30 Jan 2019 04:01:58 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 59150C21E02; Wed, 30 Jan 2019 04:01:03 +0000 (UTC) Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lists.denx.de (Postfix) with ESMTPS id 1FAD3C21DB5 for ; Wed, 30 Jan 2019 04:01:00 +0000 (UTC) Received: by mail-io1-f72.google.com with SMTP id t133so18417286iof.20 for ; Tue, 29 Jan 2019 20:01:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=Xb97XgHOKbR/6rV6Mdosiw3C5+4xQvl6W4tAp3/ie1k=; b=P8Q0sVDebWXWeOkEw5BJzPMSqBoyeI8n3AzZn84XXZM2x02HaqcrSvyEpJZUXmWnbJ xun2N7VxXX2u3RZqRZUgrMWEeGNXYsk63FS4azv/SkINSJM113sWn0WZRAYCaMKJtHJQ dbgInZpLMV9EBu/sCawrSh8dclJYVDpdPT0dU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=Xb97XgHOKbR/6rV6Mdosiw3C5+4xQvl6W4tAp3/ie1k=; b=lGYqmOqArDzx42NP+O45QEowcdSN6VSSQjv6pKaT9kXo+4LwN0PzAXdD4Z6/W1JoZX vdvn0Jqo7628BLNRcHDW7vf3BzDC72eMPF7fXWN3a5LswkdqbtXkdiySG8lEZMgw+ok6 LPcspJTiAdhiOEoZXnhbKmvIvrav91LJpP+TXTniqqiAIt2CgXJNbcBffc9y6BsZygNF HrpObdhFlYfsCxvIP7PrPXIROakEZW9KichAvRzuv7Mp2RaeC82BCP+17PH9VrfFIFJU SAouNbZh7KhnXQtePkmW3LRZdVTpKqrPYD6/8dnEdaAAnEyVR3RiMlJHcQFfNIs3wYtl a6Gg== X-Gm-Message-State: AHQUAuZS4j6UW8FxVqtoZMpAhCDNBxvhq5+SNxe0JiJjOB0WarAgAJh9 5J87dR/dvMKToF79+d2n3qiQ75UwQqD1Fbo5 X-Google-Smtp-Source: AHgI3IaCci9omrc27XGECtmTwuhjVoCrjY/S0uVxF78dAFz/qCKHW3VyHVeRljzbT4hdruIQSFImfSN3kC8AbfoZ X-Received: by 2002:a05:660c:4e:: with SMTP id p14mr4728514itk.31.1548820859147; Tue, 29 Jan 2019 20:00:59 -0800 (PST) Date: Tue, 29 Jan 2019 20:59:26 -0700 In-Reply-To: <20190130035935.235565-1-sjg@chromium.org> Message-Id: <20190130035935.235565-32-sjg@chromium.org> Mime-Version: 1.0 References: <20190130035935.235565-1-sjg@chromium.org> X-Mailer: git-send-email 2.20.1.495.gaa96b0ce6b-goog From: Simon Glass To: U-Boot Mailing List Subject: [U-Boot] [PATCH 31/40] x86: Don't generate a bootstage report in SPL 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" This report is normally generated by U-Boot proper. Correct the condition here so that it respects the Kconfig options for bootstage. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/lib/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/lib/bootm.c b/arch/x86/lib/bootm.c index 832b1f901c..5443a862ab 100644 --- a/arch/x86/lib/bootm.c +++ b/arch/x86/lib/bootm.c @@ -35,7 +35,7 @@ void bootm_announce_and_cleanup(void) timestamp_add_now(TS_U_BOOT_START_KERNEL); #endif bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel"); -#ifdef CONFIG_BOOTSTAGE_REPORT +#if CONFIG_IS_ENABLED(BOOTSTAGE_REPORT) bootstage_report(); #endif