[U-Boot] [PATCH v1 5/6] mxs: Clarify why we poweroff in case of brownout in 5v conflict

Otavio Salvador otavio at ossystems.com.br
Sun Aug 5 21:05:33 CEST 2012


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 at ossystems.com.br>
---
Changes in v1:
- new patch

 arch/arm/cpu/arm926ejs/mxs/spl_power_init.c |    4 ++++
 1 file changed, 4 insertions(+)

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;
 		}
-- 
1.7.10.4



More information about the U-Boot mailing list