[U-Boot-Users] Software watchdog on mpc8247

Mike Rapoport mike.rapoport at gmail.com
Thu Aug 25 07:46:37 CEST 2005


Hello,

I have a custom board with mpc8247 processor. I'd like to use it's
internal watchdog capability in u-boot (and linux).
I've tried to use the folliwing defines in my board config file
(include/configs/my_board.h):

#define CONFIG_WATCHDOG   1
#if defined(CONFIG_WATCHDOG)
#define CFG_SYPCR       (SYPCR_SWTC|SYPCR_BMT|SYPCR_PBME|SYPCR_LBME|\
           SYPCR_SWRI|SYPCR_SWP|SYPCR_SWE)
#else
#define CFG_SYPCR       (SYPCR_SWTC|SYPCR_BMT|SYPCR_PBME|SYPCR_LBME|\
           SYPCR_SWRI|SYPCR_SWP)
#endif /* CONFIG_WATCHDOG */

but the board does not boot when the watchdog is enabled.
I use u-boot 1.1.3 release.

--
Sincerely yours,
Mike Rapoport




More information about the U-Boot mailing list