diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-08-05 09:05:33 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 12:58:17 (GMT) |
commit | 05c823bd327e39586067262c25148cb4888974ab (patch) | |
tree | e9e27671756192069b38d0671bf296110bbbf854 /arch/arm/cpu/arm926ejs/mxs/spl_power_init.c | |
parent | 1e0cf5c34bd3074d6b026035354a89121fbf224f (diff) | |
download | u-boot-05c823bd327e39586067262c25148cb4888974ab.tar.xz |
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>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mxs/spl_power_init.c')
-rw-r--r-- | arch/arm/cpu/arm926ejs/mxs/spl_power_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c b/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c index c341960..6dd3bfc 100644 --- a/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c +++ b/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c @@ -577,6 +577,10 @@ void mxs_handle_5v_conflict(void) tmp = readl(&power_regs->hw_power_sts); if (tmp & POWER_STS_VDDIO_BO) { + /* + * VDDIO has a brownout, then the VDD5V_GT_VDDIO becomes + * unreliable + */ mxs_powerdown(); break; } |