diff mbox

[U-Boot,1/2] socfpga/spl: Remove timer_init from spl_board_init

Message ID 50866F9C.1070608@gmail.com
State Accepted
Delegated to: Albert ARIBAUD
Headers show

Commit Message

Vikram Narayanan Oct. 23, 2012, 10:21 a.m. UTC
Timer is initialized already in board_init_r function in
(common/spl/spl.c) No need to initialize it again

Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
---
 arch/arm/cpu/armv7/socfpga/spl.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Comments

Albert ARIBAUD Nov. 4, 2012, 3:22 p.m. UTC | #1
Hi Vikram,

On Tue, 23 Oct 2012 15:51:16 +0530, Vikram Narayanan
<vikram186@gmail.com> wrote:

> Timer is initialized already in board_init_r function in
> (common/spl/spl.c) No need to initialize it again
> 
> Signed-off-by: Vikram Narayanan <vikram186@gmail.com>
> Cc: Dinh Nguyen <dinguyen@altera.com>
> ---
>  arch/arm/cpu/armv7/socfpga/spl.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/spl.c
> index 944238b..23053fd 100644
> --- a/arch/arm/cpu/armv7/socfpga/spl.c
> +++ b/arch/arm/cpu/armv7/socfpga/spl.c
> @@ -37,9 +37,6 @@ u32 spl_boot_device(void)
>   */
>  void spl_board_init(void)
>  {
> -	/* init timer for enabling delay function */
> -	timer_init();
> -
>  	/* de-assert reset for peripherals and bridges based on handoff */
>  	reset_deassert_peripherals_handoff();
>  

Applied to u-boot-arm/master, thanks!

Amicalement,
diff mbox

Patch

diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/spl.c
index 944238b..23053fd 100644
--- a/arch/arm/cpu/armv7/socfpga/spl.c
+++ b/arch/arm/cpu/armv7/socfpga/spl.c
@@ -37,9 +37,6 @@  u32 spl_boot_device(void)
  */
 void spl_board_init(void)
 {
-	/* init timer for enabling delay function */
-	timer_init();
-
 	/* de-assert reset for peripherals and bridges based on handoff */
 	reset_deassert_peripherals_handoff();