[U-Boot] [PATCH 2/2] x86: Remove timer_init() and move i8254_init() to x86_cpu_init_f()

Simon Glass sjg at chromium.org
Wed Dec 2 22:06:13 CET 2015


On 2 December 2015 at 02:30, Bin Meng <bmeng.cn at gmail.com> wrote:
> Right now i8254_init() is called from timer_init() in the tsc timer
> driver. But actually i8254 and tsc are completely different things.
> Since tsc timer has been converted to driver model, we should find
> a new place that is appropriate for U-Boot to call i8254_init(),
> which is now x86_cpu_init_f().
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  arch/x86/cpu/cpu.c        |  5 +++++
>  drivers/timer/tsc_timer.c | 10 ----------
>  2 files changed, 5 insertions(+), 10 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list