[U-Boot] [PATCH 1/5] x86: timer: tsc: Allow specifying clock rate from device tree again

Simon Glass sjg at chromium.org
Sat Jun 23 14:21:49 UTC 2018


On 23 June 2018 at 04:03, Bin Meng <bmeng.cn at gmail.com> wrote:
> With the introduction of early timer support in the TSC driver,
> the capability of getting clock rate from device tree was lost
> unfortunately. Now we bring such functionality back, but with a
> limitation that when TSC is used as early timer, specifying clock
> rate from device tree does not work.
>
> This fixes random boot failures seen on QEMU targets: printing "TSC
> frequency is ZERO" and reset forever.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/timer/tsc_timer.c | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list