From: walimis <walimisdev@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] arm: vexpress: Fixed get_ticks/get_tbclk build failures
Date: Fri, 9 Mar 2012 14:33:35 +0800 [thread overview]
Message-ID: <20120309063335.GA12924@walimis-desktop> (raw)
In-Reply-To: <1330998036-22900-1-git-send-email-matt.waddel@linaro.org>
On Mon, Mar 05, 2012 at 06:40:36PM -0700, matt.waddel at linaro.org wrote:
>From: Matt Waddel <matt.waddel@linaro.org>
>
>Added get_ticks() and get_tbclk() routines
Hi Matt waddel,
I have posted the fix before:
http://patchwork.ozlabs.org/patch/142477/
Liming Wang
>
>Signed-off-by: Matt Waddel <matt.waddel@linaro.org>
>---
> board/armltd/vexpress/ca9x4_ct_vxp.c | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
>diff --git a/board/armltd/vexpress/ca9x4_ct_vxp.c b/board/armltd/vexpress/ca9x4_ct_vxp.c
>index da6f14d..22e5af1 100644
>--- a/board/armltd/vexpress/ca9x4_ct_vxp.c
>+++ b/board/armltd/vexpress/ca9x4_ct_vxp.c
>@@ -226,3 +226,13 @@ void lowlevel_init(void)
> ulong get_board_rev(void){
> return readl((u32 *)SYS_ID);
> }
>+
>+unsigned long long get_ticks(void)
>+{
>+ return get_timer(0);
>+}
>+
>+ulong get_tbclk(void)
>+{
>+ return (ulong)CONFIG_SYS_HZ;
>+}
>--
>1.7.5.4
>
>_______________________________________________
>U-Boot mailing list
>U-Boot at lists.denx.de
>http://lists.denx.de/mailman/listinfo/u-boot
prev parent reply other threads:[~2012-03-09 6:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-05 6:15 [U-Boot] ca9x4_ct_vxp build failure Marek Vasut
2012-03-06 1:40 ` [U-Boot] [PATCH 1/1] arm: vexpress: Fixed get_ticks/get_tbclk build failures matt.waddel at linaro.org
2012-03-09 6:33 ` walimis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120309063335.GA12924@walimis-desktop \
--to=walimisdev@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox