summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBoschung, Rainer <Rainer.Boschung@keymile.com>2014-06-03 09:05:20 +0200
committerYork Sun <yorksun@freescale.com>2014-08-01 14:18:59 -0700
commite3917b21c05776b41663bdfcc7666aca11a381a0 (patch)
tree8251bf593a9ebd57e258c26c134ca9119ded8446 /board
parent6caa185abd8bc42362c576a571792d5c63fa349d (diff)
downloadu-boot-imx-e3917b21c05776b41663bdfcc7666aca11a381a0.zip
u-boot-imx-e3917b21c05776b41663bdfcc7666aca11a381a0.tar.gz
u-boot-imx-e3917b21c05776b41663bdfcc7666aca11a381a0.tar.bz2
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 <rainer.boschung@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/keymile/kmp204x/kmp204x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/keymile/kmp204x/kmp204x.c b/board/keymile/kmp204x/kmp204x.c
index 225262e..cd08379 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);