From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 17 Mar 2015 18:09:27 +0100 Subject: [U-Boot] [PATCH] arm: mx5: Add support for USB armory board In-Reply-To: <55085BAD.4020907@boundarydevices.com> References: <1424768633-22084-1-git-send-email-andrej@inversepath.com> <55085BAD.4020907@boundarydevices.com> Message-ID: <55085FC7.1050708@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 Hi Fabio, Eric, On 17/03/2015 17:51, Eric Nelson wrote: > Hi Fabio, > > On 03/17/2015 09:30 AM, Fabio Estevam wrote: >> On Mon, Mar 16, 2015 at 1:50 PM, Chris Kuethe wrote: >> >>> U-Boot 2015.04-rc3-00209-ga74ef40-dirty (Mar 15 2015 - 22:04:22) >>> >>> CPU: Freescale i.MX53 rev2.1 at 800 MHz >>> Reset cause: WDOG >> >> Here the reset cause is printed correctly. >> >>> Board: Inverse Path USB armory MkI >>> I2C: ready >>> DRAM: 512 MiB >>> MMC: FSL_SDHC: 0 >>> In: serial >>> Out: serial >>> Err: serial >>> CPU: Freescale i.MX53 rev2.1 at 800 MHz >>> Reset cause: unknown reset >> >> ,but here it fails. >> >> Why does CPU version and reset cause are printed twice? >> > The arm library calls always print_cpuinfo(), where get_reset_cause() is called. In this patch, print_cpuinfo() is called the second time in board_late_init(), too. It should be dropped. Without testing, I think that this issue hits the mx53loco, too. Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================