mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
mxs: Clarify why we poweroff in case of brownout in 5v conflict
If VDDIO has a brownout, then the VDD5V_GT_VDDIO becomes unreliable but this wasn't clear on code so a comment has been added to clarify it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
1e0cf5c34b
commit
05c823bd32
@ -577,6 +577,10 @@ void mxs_handle_5v_conflict(void)
|
|||||||
tmp = readl(&power_regs->hw_power_sts);
|
tmp = readl(&power_regs->hw_power_sts);
|
||||||
|
|
||||||
if (tmp & POWER_STS_VDDIO_BO) {
|
if (tmp & POWER_STS_VDDIO_BO) {
|
||||||
|
/*
|
||||||
|
* VDDIO has a brownout, then the VDD5V_GT_VDDIO becomes
|
||||||
|
* unreliable
|
||||||
|
*/
|
||||||
mxs_powerdown();
|
mxs_powerdown();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user