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

Bin Meng bmeng.cn at gmail.com
Sun Jul 23 04:36:18 UTC 2017


Hi Simon,

On Sun, Jul 16, 2017 at 7:41 AM, Simon Glass <sjg at 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 at 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


More information about the U-Boot mailing list