]> git.sur5r.net Git - u-boot/commit
dm: timer: Correct timer init ordering after relocation
authorSimon Glass <sjg@chromium.org>
Sat, 12 Mar 2016 05:06:46 +0000 (22:06 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:24 +0000 (10:27 +0800)
commitd74d6b444c9f1596c24d492e57af9423efbd113b
tree20de40deb6f12c7913f0855685bc9dd52abcd2fd
parent5a34957c39c9526b88c658b740fc4e9a3012e58b
dm: timer: Correct timer init ordering after relocation

Commit 1057e6c broke use of the timer with driver model. If the timer is used
before relocation, then it becomes broken after relocation. This prevents
some x86 boards from booting. Fix it.

Fixes: 1057e6c (timer: Set up the real timer after driver model is available)
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/board_r.c