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

Albert ARIBAUD albert.u.boot at aribaud.net
Sun Nov 4 16:22:53 CET 2012


Hi Vikram,

On Tue, 23 Oct 2012 15:51:16 +0530, Vikram Narayanan
<vikram186 at 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 at gmail.com>
> Cc: Dinh Nguyen <dinguyen at 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,
-- 
Albert.


More information about the U-Boot mailing list