All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] imx-common: timer: clean up
Date: Wed, 19 Apr 2017 11:14:58 +0200	[thread overview]
Message-ID: <25e333b5-2b47-a4d5-236d-15a8bf70de75@denx.de> (raw)
In-Reply-To: <1492592755-16167-1-git-send-email-peng.fan@nxp.com>

On 19/04/2017 11:05, Peng Fan wrote:
> Drop the unneeded code. lib/time.c use timebase_l/h.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
>  arch/arm/imx-common/timer.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/arch/arm/imx-common/timer.c b/arch/arm/imx-common/timer.c
> index ee6eff2..9b01114 100644
> --- a/arch/arm/imx-common/timer.c
> +++ b/arch/arm/imx-common/timer.c
> @@ -105,9 +105,6 @@ int timer_init(void)
>  #endif
>  	__raw_writel(i, &cur_gpt->control);
>  
> -	gd->arch.tbl = __raw_readl(&cur_gpt->counter);
> -	gd->arch.tbu = 0;
> -
>  	return 0;
>  }
>  
> 

Reviewed-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2017-04-19  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-19  9:05 [U-Boot] [PATCH] imx-common: timer: clean up Peng Fan
2017-04-19  9:14 ` Stefano Babic [this message]
2017-05-11 10:31 ` Stefano Babic

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=25e333b5-2b47-a4d5-236d-15a8bf70de75@denx.de \
    --to=sbabic@denx.de \
    --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.