[U-Boot] [PATCH 8/8] x86: Move timer_init() call a bit earlier

Simon Glass sjg at chromium.org
Fri Oct 23 03:47:54 CEST 2015


On 22 October 2015 at 19:39, Bin Meng <bmeng.cn at gmail.com> wrote:
> Currently timer_init() is called in board_r.c which is quite late.
> Some vgabios execution requires we set up the i8254 timer correctly,
> but video initialization comes before timer_init(). Move the call
> to board_f.c.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
>  common/board_f.c | 2 +-
>  common/board_r.c | 3 +--
>  2 files changed, 2 insertions(+), 3 deletions(-)

At some point we might consider using driver model for this (when the
uclass is merged).

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


More information about the U-Boot mailing list