On Sat, Dec 7, 2019 at 12:46 PM Simon Glass <s...@chromium.org> wrote: > > At present the early timer init happens as soon as driver model is set up. > This makes it impossible to do anything that needs driver model but must > run before devices are probed (as needed with Intel's FSP-S, for example). > > In any case it is not a good idea to tie probing of particular drivers too > closely to the DM init. > > Create a new function to init the timer and put it a bit later in the > sequence. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: > - Add new patch to move early-timer init later > > Changes in v3: None > Changes in v2: None > > common/board_r.c | 19 ++++++++++++++----- > 1 file changed, 14 insertions(+), 5 deletions(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>