From: Boschung, Rainer Date: Tue, 3 Jun 2014 07:05:20 +0000 (+0200) Subject: kmp204x: prepare to use CPU watchdog X-Git-Tag: v2014.10-rc1~7^2 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=e3917b21c05776b41663bdfcc7666aca11a381a0 kmp204x: prepare to use CPU watchdog This patch configures the qrio to trigger a core reset on a CPU reset request. Signed-off-by: Rainer Boschung Signed-off-by: Valentin Longchamp Reviewed-by: York Sun --- diff --git a/board/keymile/kmp204x/kmp204x.c b/board/keymile/kmp204x/kmp204x.c index 225262e49c..cd083795b8 100644 --- a/board/keymile/kmp204x/kmp204x.c +++ b/board/keymile/kmp204x/kmp204x.c @@ -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);