From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 28 Oct 2010 13:21:05 +0200 Subject: [U-Boot] [PATCH] mx51evk: Fix 2 hours reset issue In-Reply-To: <1288193764-810-1-git-send-email-Shawn.Guo@freescale.com> References: <1288193764-810-1-git-send-email-Shawn.Guo@freescale.com> Message-ID: <4CC95CA1.6050804@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/27/2010 05:36 PM, Shawn.Guo at freescale.com wrote: > From: Shawn Guo > > The mx51evk u-boot has an issue that system will get reset > every 2 hours. > > MC13892 has an inside charge timer which expires in 120 minutes. > If ICHRG and CHGAUTOB are not set properly, this timer expiration > will get system power recycled. > > Since mx51evk has no Li-Ion battery on board, the patch sets > ICHRG in externally powered mode and sets CHGAUTOB bit to avoid > automatic charging, so that system will not get reset by this > timer expiration. > > The patch also corrects the bit field definition of register 48 > (Charger 0) per latest MC13892 Reference Manual. > > Signed-off-by: Shawn Guo Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================