On Sat, Aug 3, 2019 at 4:30 PM 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 > > Signed-off-by: Aiden Park <[email protected]> > Reviewed-by: Bin Meng <[email protected]> > --- > Changes in v6: > * Use EFI_GUID > * Add more comments while setting tsc_base and clock_rate > * Apply code-review comments > > Changes in v3: > * Use HOB function from the common HOB library > > arch/x86/cpu/slimbootloader/slimbootloader.c | 37 +++++++++++++++++++ > .../asm/arch-slimbootloader/slimbootloader.h | 28 ++++++++++++++ > 2 files changed, 65 insertions(+) >
Tested-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

