
23 Jul
2017
23 Jul
'17
6:36 a.m.
Hi Simon,
On Sun, Jul 16, 2017 at 7:41 AM, Simon Glass sjg@chromium.org 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.
Signed-off-by: Simon Glass sjg@chromium.org
arch/x86/include/asm/global_data.h | 1 + drivers/timer/tsc_timer.c | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-)
Please check my comments against [1/5] in this series. We should be able to do something with existing CONFIG_TIMER_EARLY. Updating TSC timer can only solve this specific timer issue.
Regards, Bin