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

Bin Meng bmeng.cn at gmail.com
Mon Aug 28 05:18:19 UTC 2017


n Sun, Aug 27, 2017 at 11:23 PM, 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.
>
> This will be used by the 'early' timer also.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Update to support the early timer
>
>  arch/x86/include/asm/global_data.h |  1 +
>  drivers/timer/tsc_timer.c          | 30 +++++++++++++++++++++++++-----
>  2 files changed, 26 insertions(+), 5 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list