From patchwork Thu Apr 18 02:13:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 237404 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 493862C0199 for ; Thu, 18 Apr 2013 12:16:53 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E505D4A348; Thu, 18 Apr 2013 04:16:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZWbFK-5-u-dn; Thu, 18 Apr 2013 04:16:26 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BBD414A305; Thu, 18 Apr 2013 04:15:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9CE524A233 for ; Thu, 18 Apr 2013 04:15:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v0JyYrfbpY9k for ; Thu, 18 Apr 2013 04:15:02 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-qc0-f201.google.com (mail-qc0-f201.google.com [209.85.216.201]) by theia.denx.de (Postfix) with ESMTPS id BDB294A2EE for ; Thu, 18 Apr 2013 04:14:41 +0200 (CEST) Received: by mail-qc0-f201.google.com with SMTP id o22so236507qcr.0 for ; Wed, 17 Apr 2013 19:14:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=cOIrq4EQUAWq5HKQKhlR+11xND+yKLaeCI5u88R4hlw=; b=pA2a7KYN0LZl/D2o0lq2CSMWBYggFqKDuyYZc5mPqxcpussIcEyoCzLH4itYKK/8R4 tC1qkrHbZ5AgklyejgiVqgbOPhwDf8YChk3zZsSIVmaCZ2P7Q5nSIiUqzuWfBnv0U7yi 2TMhmjuj49O7oQanXc/lxulK6ecN/q1Au6VhsC34sSnEN8xbQxIzkkYg3iQTQPTZ8TeD a5EupRPqoWBUkTYlEO53jJCgGe802vTEXALwlBRXQOlE0Ju1o/ye+r0CfYk4uwikvj1M Px9RwCpi1wzYIqj+sDbOgpoQ4aFHLqot1br3uMUhcXnDr8L3M1TcKk9cSK673dgQl/4a 2n+Q== X-Received: by 10.236.102.200 with SMTP id d48mr4520206yhg.3.1366251279795; Wed, 17 Apr 2013 19:14:39 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id q58si2107688yhe.4.2013.04.17.19.14.39 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Wed, 17 Apr 2013 19:14:39 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.83.1]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id F359832B09A; Wed, 17 Apr 2013 19:14:11 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 8B69716088E; Wed, 17 Apr 2013 19:14:11 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 17 Apr 2013 19:13:43 -0700 Message-Id: <1366251228-19884-15-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1366251228-19884-1-git-send-email-sjg@chromium.org> References: <1366251228-19884-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQl4qYU7kl1ccuj+INACtM9gMPOPN2IEcmvLcT+AtudO8gk/hHmhoflQcnQLob61UGK/DIIDuKQI54UGTMCRgMvU5Tq7esdOalH02+o6TRy0U09Cs0QNHW30PaH5yuzCMQl/Q/jAdNeAoffLVoghScj8qXR9UQZbZVTiMWqHTgMmVwqJSSye4jcK1gNbsO4TkZYskfU3 Cc: Graeme Russ , u-boot-review@google.com Subject: [U-Boot] [PATCH 14/19] x86: Enable bootstage for coreboot X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This is a convenient way of finding out where boottime is going. Enable it for coreboot. Signed-off-by: Simon Glass --- include/configs/coreboot.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 7953ec6..743fb95 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -48,6 +48,15 @@ #define CONFIG_OF_SEPARATE #define CONFIG_DEFAULT_DEVICE_TREE link +#define CONFIG_BOOTSTAGE +#define CONFIG_BOOTSTAGE_REPORT +#define CONFIG_BOOTSTAGE_FDT +#define CONFIG_CMD_BOOTSTAGE +/* Place to stash bootstage data from first-stage U-Boot */ +#define CONFIG_BOOTSTAGE_STASH 0x0110f000 +#define CONFIG_BOOTSTAGE_STASH_SIZE 0x7fc +#define CONFIG_BOOTSTAGE_USER_COUNT 60 + /*----------------------------------------------------------------------- * Watchdog Configuration */