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

Bin Meng bmeng.cn at gmail.com
Tue Jun 26 10:59:52 UTC 2018


On Sat, Jun 23, 2018 at 10:21 PM, Simon Glass <sjg at chromium.org> wrote:
> 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>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list