Re: [U-Boot] [PATCH v3 2/6] dm: x86: Allow TSC timer to be used before DM is ready

2017-09-15 Thread Bin Meng
On Wed, Sep 6, 2017 at 9:49 AM, Simon Glass wrote: > With bootstage we need access to the timer before driver model is set up. > To handle this, put the required state in global_data and provide a new > function to set up the device, separate from the driver's probe() method. > > This will be used

[U-Boot] [PATCH v3 2/6] dm: x86: Allow TSC timer to be used before DM is ready

2017-09-05 Thread Simon Glass
With bootstage we need access to the timer before driver model is set up. To handle this, put the required state in global_data and provide a new function to set up the device, separate from the driver's probe() method. This will be used by the 'early' timer also. Signed-off-by: Simon Glass Revi