[U-Boot] [PATCH v3 026/108] x86: timer: Reduce timer code size in TPL on Intel CPUs

Simon Glass sjg at chromium.org
Sat Nov 2 18:25:59 UTC 2019


Hi BIn,

On Mon, 28 Oct 2019 at 01:27, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> Hi Simon,
>
> On Mon, Oct 21, 2019 at 11:40 AM Simon Glass <sjg at chromium.org> wrote:
> >
> > Most of the timer-calibration methods are not needed on recent Intel CPUs
> > and just increase code size. Add an option to use the known-good way to
> > get the clock frequency in TPL. Size reduction is about 700 bytes.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > Changes in v3: None
> > Changes in v2: None
> >
> >  drivers/timer/Kconfig     | 9 +++++++++
> >  drivers/timer/tsc_timer.c | 7 +++++--
> >  2 files changed, 14 insertions(+), 2 deletions(-)
> >
>
> You mentioned in the v2 that this breaks bootstage, and will drop this
> patch. no?
> https://www.mail-archive.com/u-boot@lists.denx.de/msg344229.html

Ah yes I found the bug with that, and you've applied the patches. Will
update the commit message.

Regards,
Simon


More information about the U-Boot mailing list