On Fri, Jul 26, 2019 at 10:00 AM Park, Aiden <[email protected]> wrote:
>
> Slim Bootloader already calibrated TSC and provides it to U-Boot.
> Therefore, U-Boot does not have to re-calibrate TSC.
> Configuring tsc_base and clock_rate makes x86 tsc_timer driver
> bypass TSC calibration and use the provided TSC frequency.
> - Get TSC frequency from performance info hob
> - Set tsc_base and clock_rate for tsc_timer driver

I'm still not convinced to have this. As kernel followed by U-Boot we
thrust hardware more than something else.
One more layer in between is usually an additional point to be error-prone.

So, if something we may get directly from hardware, I consider better
to get it from there.

Of course, data structures can be left for sake of self-documentation.

-- 
With Best Regards,
Andy Shevchenko
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to