From patchwork Thu Sep 15 05:34:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 114743 X-Patchwork-Delegate: albert.aribaud@free.fr 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 E30D0B6F8F for ; Thu, 15 Sep 2011 15:34:40 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4377D2842A; Thu, 15 Sep 2011 07:34:39 +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 EnWCdUrlo5tO; Thu, 15 Sep 2011 07:34:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E6ABB28430; Thu, 15 Sep 2011 07:34:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9194128430 for ; Thu, 15 Sep 2011 07:34:35 +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 eOlOIqkB9jh2 for ; Thu, 15 Sep 2011 07:34:35 +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 pollux.denx.de (host-82-135-33-74.customer.m-online.net [82.135.33.74]) by theia.denx.de (Postfix) with ESMTP id 42EF22842A for ; Thu, 15 Sep 2011 07:34:35 +0200 (CEST) Received: by pollux.denx.de (Postfix, from userid 515) id 05AA5224E; Thu, 15 Sep 2011 07:34:34 +0200 (CEST) From: Heiko Schocher To: u-boot@lists.denx.de Date: Thu, 15 Sep 2011 07:34:33 +0200 Message-Id: <1316064873-5500-1-git-send-email-hs@denx.de> X-Mailer: git-send-email 1.7.6 Cc: Heiko Schocher Subject: [U-Boot] [PATCH] arm, post: add missing post_time_ms for arm X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 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 Signed-off-by: Heiko Schocher Cc: Albert ARIBAUD --- post/post.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/post/post.c b/post/post.c index 6c59f91..0bfca75 100644 --- a/post/post.c +++ b/post/post.c @@ -488,7 +488,7 @@ void post_reloc(void) */ unsigned long post_time_ms(unsigned long base) { -#ifdef CONFIG_PPC +#if defined(CONFIG_PPC) || defined(CONFIG_ARM) return (unsigned long)(get_ticks() / (get_tbclk() / CONFIG_SYS_HZ)) - base; #else