timer: Set up the real timer after driver model is available
authorSimon Glass <sjg@chromium.org>
Wed, 24 Feb 2016 16:14:50 +0000 (09:14 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Feb 2016 15:53:10 +0000 (08:53 -0700)
commit1057e6cfe12bf71394fe02e0939f232417882f90
treeef92c3371d4e199a3b649ac1d347156075a21650
parentc95fec31928d7e2596364ee1d226b52ffd7793f2
timer: Set up the real timer after driver model is available

When using the early timer, we need to manually trigger setting up the
real timer. This will not happen automatically. Do this immediately after
starting driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/board_f.c
common/board_r.c