Skip to content
Snippets Groups Projects
Commit 88ac6ffa authored by Boschung, Rainer's avatar Boschung, Rainer Committed by York Sun
Browse files

kmp204x: CPU watchdog enabled


The booting of the board is now protected by the CPU watchdog.
A failure during the boot phase will end up in board reset.

Signed-off-by: default avatarRainer Boschung <rainer.boschung@keymile.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 919e0552
No related branches found
No related tags found
No related merge requests found
...@@ -376,6 +376,14 @@ int get_scl(void); ...@@ -376,6 +376,14 @@ int get_scl(void);
#define CONFIG_LOADS_ECHO /* echo on for serial download */ #define CONFIG_LOADS_ECHO /* echo on for serial download */
#define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */ #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
/*
* Hardware Watchdog
*/
#define CONFIG_WATCHDOG /* enable CPU watchdog */
#define CONFIG_WATCHDOG_PRESC 34 /* wdog prescaler 2^(64-34) (~10min) */
#define CONFIG_WATCHDOG_RC WRC_CHIP /* reset chip on watchdog event */
/* /*
* additionnal command line configuration. * additionnal command line configuration.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment