[U-Boot] [PATCH] mx5: lowlevel_init: Remove unused macro

Stefano Babic sbabic at denx.de
Tue Oct 1 10:30:05 CEST 2013


On 30/09/2013 23:28, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> setup_wdog macro is not used anywhere, so just remove it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  arch/arm/cpu/armv7/mx5/lowlevel_init.S | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/arch/arm/cpu/armv7/mx5/lowlevel_init.S b/arch/arm/cpu/armv7/mx5/lowlevel_init.S
> index e4cd85c..bffac67 100644
> --- a/arch/arm/cpu/armv7/mx5/lowlevel_init.S
> +++ b/arch/arm/cpu/armv7/mx5/lowlevel_init.S
> @@ -375,12 +375,6 @@ setup_pll_func:
>  #endif	/* CONFIG_MX53 */
>  .endm
>  
> -.macro setup_wdog
> -	ldr r0, =WDOG1_BASE_ADDR
> -	mov r1, #0x30
> -	strh r1, [r0]
> -.endm
> -
>  ENTRY(lowlevel_init)
>  	mov r10, lr
>  	mov r4, #0	/* Fix R4 to 0 */
> 

Acked-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
=====================================================================


More information about the U-Boot mailing list