imx-common: timer: clean up
Subsystems (2)
PATCH 1/1 imx-common: timer: clean up
Drop the unneeded code. lib/time.c use timebase_l/h.
Signed-off-by Peng Fan <[email protected]>
Cc Stefano Babic <[email protected]>
--- arch/arm/imx-common/timer.c | 3 --- 1 file changed, 3 deletions(-)
arch/arm/imx-common/timer.c +0 -3
@@ -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 ; }
Signature · 1 line
2.6.2
PATCH 1/1 imx-common: timer: clean up
Quoted 14 lines · Peng Fan
Drop the unneeded code.
lib/time.cuse timebase_l/h.Signed-off-by Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>--- arch/arm/imx-common/timer.c | 3 --- 1 file changed, 3 deletions(-)arch/arm/imx-common/timer.c +0
-0
arch/arm/imx-common/timer.c int timer_init(void) · line 110
Quoted 9 lines
arch/arm/imx-common/timer.c +0
-3@@ -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 <[email protected]>
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================
PATCH 1/1 imx-common: timer: clean up
In reply to Peng FanQuoted 14 lines · Peng Fan
Drop the unneeded code.
lib/time.cuse timebase_l/h.Signed-off-by Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>--- arch/arm/imx-common/timer.c | 3 --- 1 file changed, 3 deletions(-)arch/arm/imx-common/timer.c +0
-0
arch/arm/imx-common/timer.c int timer_init(void) · line 110
Quoted 9 lines
arch/arm/imx-common/timer.c +0
-3@@ -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
Signature · 5 lines
===================================================================== 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 =====================================================================