[U-Boot] [PATCH] timer: Add High Precision Event Timers (HPET) support
Ivan Gorinov
ivan.gorinov at intel.com
Sat Mar 31 00:24:30 UTC 2018
On Fri, Mar 30, 2018 at 10:42:57PM +0300, Andy Shevchenko wrote:
> On Fri, Mar 30, 2018 at 1:39 AM, Simon Glass <sjg at chromium.org> wrote:
> > On 29 March 2018 at 18:52, Andy Shevchenko
> > <andriy.shevchenko at linux.intel.com> wrote:
>
> >> First question is how this will work in case of Broadwell and Ivybridge
> >> that have something to do with HPET in their CPU code, i.e.
> >>
> >> arch/x86/cpu/broadwell/pch.c
> >> arch/x86/cpu/ivybridge/lpc.c
> >>
> >> ?
> >>
> >> Look for
> >>
> >> clrsetbits_le32(RCB_REG(HPTC), 3, 1 << 7);
>
>
> > Perhaps that code can be removed in favour of this driver? I am happy
> > to test on these platforms if it helps.
>
> That's my point.
>
This code performs platform-specific enabling and may be required
for the generic HPET driver and OS kernel to work.
More information about the U-Boot
mailing list