mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
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: Rainer Boschung <rainer.boschung@keymile.com> Reviewed-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
919e05520f
commit
88ac6ffabb
1 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue