From: Angelo Dureghello Date: Wed, 10 May 2017 21:58:06 +0000 (+0200) Subject: board_f: skip timer_init() on Coldfire archs X-Git-Tag: v2017.07-rc1~280 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0ce452872fc5cadffa4d1dd15377dd66fa457348;p=u-boot board_f: skip timer_init() on Coldfire archs Coldfire arch is not happy with timer_init since interrupt handlers are still not set at that stage, and the boot hangs silently. Signed-off-by: Angelo Dureghello --- diff --git a/common/board_f.c b/common/board_f.c index d9431ee79a..30e588e213 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -740,7 +740,9 @@ static const init_fnc_t init_sequence_f[] = { /* get CPU and bus clocks according to the environment variable */ get_clocks, /* get CPU and bus clocks (etc.) */ #endif +#if !defined(CONFIG_M68K) timer_init, /* initialize timer */ +#endif #if defined(CONFIG_BOARD_POSTCLK_INIT) board_postclk_init, #endif