Hi
I am using imx6sabresd custom design board.I need to enable wdog at u-boot.
I have successfully enabled watch dog at u-boot by doing following:
In include/configs/mx6sabresd.h
add
/* Enabled Watchdog Timer */
#define CONFIG_IMX_WATCHDOG
#define CONFIG_WATCHDOG_TIMEOUT_MSECS 60000
In /board/freescale/mx6sabresd/mx6sabresd.c
board late init
add
#ifdef CONFIG_IMX_WATCHDOG
hw_watchdog_init();
#endif
But now i want to enable wdog by u-boot environment variables after stop at u-boot.Is there any way i can do this?