From patchwork Mon Mar 11 16:08:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 226580 X-Patchwork-Delegate: trini@ti.com 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 DF7852C02B2 for ; Tue, 12 Mar 2013 03:10:06 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9008F4A1E0; Mon, 11 Mar 2013 17:10:03 +0100 (CET) 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 mRgXXQXf2x7v; Mon, 11 Mar 2013 17:10:03 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 065AA4A212; Mon, 11 Mar 2013 17:09:31 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 806264A16F for ; Mon, 11 Mar 2013 17:09:12 +0100 (CET) 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 qQNIE77WqOwG for ; Mon, 11 Mar 2013 17:09:11 +0100 (CET) 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-qe0-f74.google.com (mail-qe0-f74.google.com [209.85.128.74]) by theia.denx.de (Postfix) with ESMTPS id 23D424A1DF for ; Mon, 11 Mar 2013 17:09:01 +0100 (CET) Received: by mail-qe0-f74.google.com with SMTP id 9so394188qea.3 for ; Mon, 11 Mar 2013 09:09:00 -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=x/NetWxb8TgVu9eG05xXJVOAYczt7giYnIf7kauT68U=; b=iJEStr4paZZvYPPDQmIZngZUA+W9pjIsODW/0hMwf+RKekGpW67Q6Nfs31JETIdnqr rKa7bJLfdFhw8BZlzy1jwV79BB1WesOPX9l8R7ELtMEA5OCPpP+SXildLjo/aevyLK65 tQg+2B5WkqBN+Uu9MB7hYrkLTX5vJCP6HYVY2OD8JvSU7KJiMN6yrMPCugOuJsB/6P/i S28X3e3CkAKwNUjmSjwy07CkmmwTc1fG14dYUEJEd6/vNgh1Dhww8MQY0rJBQel0163U zv777dT5IF91awfTjsfkxE5ZukJHP6OvOEopKwwvraAVEqaLuPXnJdJpeFJSucG47B+L Twpg== X-Received: by 10.236.85.211 with SMTP id u59mr7866098yhe.38.1363018139970; Mon, 11 Mar 2013 09:08:59 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id b67si1087751yhi.2.2013.03.11.09.08.59 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Mon, 11 Mar 2013 09:08:59 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.73.79]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id C84065A41EC; Mon, 11 Mar 2013 09:08:59 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id A4AC816072B; Mon, 11 Mar 2013 09:08:59 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 11 Mar 2013 09:08:12 -0700 Message-Id: <1363018093-28979-15-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.1.3 In-Reply-To: <1363018093-28979-1-git-send-email-sjg@chromium.org> References: <1363018093-28979-1-git-send-email-sjg@chromium.org> X-Gm-Message-State: ALoCoQkk5mh024BWYCMgU5aYH4XU89vYPtd2UqkMl1dA+Ni+esTs7FBN58hG6FKXTr781mUq4QTlmhnwJLCHYpMeuhrPhGtMuii2DCY34uWsCLmzE33YImadZUss17Vi9ATsPao7B32cZvs24lYlELWY677+4dl+e4TWC8kR5W2AXSsR5GSbVBWQoM8tycDf2ILLH/u/XQSi Cc: Graeme Russ , Tom Warren Subject: [U-Boot] [PATCH v2 14/15] x86: Enable time command 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 command is useful for measuring SPI flash load times and the like. Enable gettime as well to obtain absolute time tick values. Signed-off-by: Simon Glass --- Changes in v2: - Enable gettime command for coreboot also include/configs/coreboot.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 4826756..1a763ab 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -179,6 +179,8 @@ #define CONFIG_CMD_SAVEENV #define CONFIG_CMD_SETGETDCR #define CONFIG_CMD_SOURCE +#define CONFIG_CMD_TIME +#define CONFIG_CMD_GETTIME #define CONFIG_CMD_XIMG #define CONFIG_CMD_SCSI