hw21: clear register completely instead of masking watchdog timeout
With the introduction of the SSF watchdog feature a get and then a set of the PMIC's CONTROL_D register leads to an activation of the watchdog and causes a watchdog reset at the time the kernel is being decompressed. Currently we disable the watchdog from the bootloader and activate it only in user space. BugzID: 74659 Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
3a9ef955c2
commit
6cc285809d
|
|
@ -622,9 +622,7 @@ static void pmic_ignition_gate_on(void)
|
|||
val |= 0xC0;
|
||||
(void)da9063_set_reg(PMIC_REG_CONFIG_L, val);
|
||||
|
||||
(void)da9063_get_reg(PMIC_REG_CONTROL_D, &val); /* No blinking, state selected by GPIOxx_MODE */
|
||||
val &= ~0xF8;
|
||||
(void)da9063_set_reg(PMIC_REG_CONTROL_D, val);
|
||||
(void)da9063_set_reg(PMIC_REG_CONTROL_D, 0x00); /* No blinking, state selected by GPIOxx_MODE */
|
||||
|
||||
(void)da9063_get_reg(PMIC_REG_GPIO_MODE8_15, &val); /* Set to GPIO14,15 to high */
|
||||
val |= 0xC0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue