mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
6caa185abd
commit
e3917b21c0
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue