[U-Boot] [PATCH 1/2] MX31: mx31pdk: Add watchdog support

Stefano Babic sbabic at denx.de
Sun Apr 10 17:45:15 CEST 2011


On 03/09/2011 05:35 PM, Fabio Estevam wrote:
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  board/freescale/mx31pdk/mx31pdk.c |   16 ++++++++++++++++
>  include/configs/mx31pdk.h         |    1 +
>  2 files changed, 17 insertions(+), 0 deletions(-)
> 
> diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c
> index a9f0fb4..4a5d3ef 100644

Hi Fabio,

> diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h
> index 86c758f..1f1de46 100644
> --- a/include/configs/mx31pdk.h
> +++ b/include/configs/mx31pdk.h
> @@ -61,6 +61,7 @@
>  
>  #define CONFIG_MXC_UART		1
>  #define CONFIG_SYS_MX31_UART1	1
> +#define CONFIG_HW_WATCHDOG
>  
>  #define CONFIG_HARD_SPI		1
>  #define CONFIG_MXC_SPI		1

Applying this patch I have not found BOARD_LATE_INIT in mx31pdk.h. How
can the watchdog be enabled ?

Best regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list