From: Matt Waddel <matt.waddel@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH resend] ARMV7/Vexpress: add missing get_ticks() and get_tbclk()
Date: Fri, 09 Mar 2012 17:11:00 -0700 [thread overview]
Message-ID: <4F5A9C14.5000004@linaro.org> (raw)
In-Reply-To: <1329922591-14743-1-git-send-email-walimisdev@gmail.com>
On 02/22/2012 07:56 AM, walimis wrote:
> From: Liming Wang <walimisdev@gmail.com>
>
> commit f31a911fe (arm, post: add missing post_time_ms for arm)
> enables get_ticks and get_tbclk for all arm based boards,
> arm/vexpress also needs these functions to work.
>
> Signed-off-by: Liming Wang <walimisdev@gmail.com>
Acked-by: Matt.Waddel at 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..0b36d12 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;
> +}
next prev parent reply other threads:[~2012-03-10 0:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-22 14:56 [U-Boot] [PATCH resend] ARMV7/Vexpress: add missing get_ticks() and get_tbclk() walimis
2012-03-10 0:11 ` Matt Waddel [this message]
2012-03-26 11:26 ` Anatolij Gustschin
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=4F5A9C14.5000004@linaro.org \
--to=matt.waddel@linaro.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.