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

kmp204x: prepare to use CPU watchdog


This patch configures the qrio to trigger a core reset on
a CPU reset request.

Signed-off-by: default avatarRainer Boschung <rainer.boschung@keymile.com>
Signed-off-by: default avatarValentin Longchamp <valentin.longchamp@keymile.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 6caa185a
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,9 @@ int board_early_init_f(void)
ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
bool cpuwd_flag = false;
/* configure mode for uP reset request */
qrio_uprstreq(UPREQ_CORE_RST);
/* board only uses the DDR_MCK0, so disable the DDR_MCK1/2/3 */
setbits_be32(&gur->ddrclkdr, 0x001f000f);
......
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