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 <chris.kue...@gmail.com> 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: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot