]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
MX35: mx35pdk: wrong board revision
authorStefano Babic <sbabic@denx.de>
Mon, 9 Apr 2012 11:29:06 +0000 (13:29 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 16 Apr 2012 12:53:59 +0000 (14:53 +0200)
commit2f002eceae44c21656b7f596624c636157ffdf1c
treef23dabf5ed61b5dd7f9bad69bbadd36c57544038
parentfbf4a074e0b7eb4864836084eff2a747617be0b4
MX35: mx35pdk: wrong board revision

The board revision is detected accessing to the pmic,
that is not available before relocation (I2C).
This generates the following error:

CPU:   Freescale i.MX35 rev 2.0 at 532 MHz.
Reset cause: WDOG
<reg num> = 7 is invalid. Should be less than 0
Board: MX35 PDK 1.0

The revision number is wrong, as a default value is printed
(tested on a mx35pdk Rev. 2.0).

Move the output in the board_late_init(), when
pmic can be accessed.

Signed-off-by: Stefano Babic <sbabic@denx.de>
board/freescale/mx35pdk/mx35pdk.c
include/configs/mx35pdk.h