From: Otavio Salvador Date: Sun, 5 Aug 2012 09:05:33 +0000 (+0000) Subject: mxs: Clarify why we poweroff in case of brownout in 5v conflict X-Git-Tag: v2012.10-rc1~271 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=05c823bd327e39586067262c25148cb4888974ab;p=u-boot 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 --- diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c b/arch/arm/cpu/arm926ejs/mxs/spl_power_init.c index c341960f38..6dd3bfc9bc 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; }