* [U-Boot] [PATCH] imx-common: timer: clean up
@ 2017-04-19 9:05 Peng Fan
2017-04-19 9:14 ` Stefano Babic
2017-05-11 10:31 ` Stefano Babic
0 siblings, 2 replies; 3+ messages in thread
From: Peng Fan @ 2017-04-19 9:05 UTC (permalink / raw)
To: u-boot
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;
}
--
2.6.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] imx-common: timer: clean up
2017-04-19 9:05 [U-Boot] [PATCH] imx-common: timer: clean up Peng Fan
@ 2017-04-19 9:14 ` Stefano Babic
2017-05-11 10:31 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2017-04-19 9:14 UTC (permalink / raw)
To: u-boot
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
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] imx-common: timer: clean up
2017-04-19 9:05 [U-Boot] [PATCH] imx-common: timer: clean up Peng Fan
2017-04-19 9:14 ` Stefano Babic
@ 2017-05-11 10:31 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2017-05-11 10:31 UTC (permalink / raw)
To: u-boot
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;
> }
>
>
Applied to u-boot-imx, thanks !
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
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-11 10:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19 9:05 [U-Boot] [PATCH] imx-common: timer: clean up Peng Fan
2017-04-19 9:14 ` Stefano Babic
2017-05-11 10:31 ` Stefano Babic
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.