Commit 0ce452872fc5cadffa4d1dd15377dd66fa457348
Committed by
Tom Rini
1 parent
bcc1726a7b
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
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 <angelo@sysam.it>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
common/board_f.c
... | ... | @@ -740,7 +740,9 @@ |
740 | 740 | /* get CPU and bus clocks according to the environment variable */ |
741 | 741 | get_clocks, /* get CPU and bus clocks (etc.) */ |
742 | 742 | #endif |
743 | +#if !defined(CONFIG_M68K) | |
743 | 744 | timer_init, /* initialize timer */ |
745 | +#endif | |
744 | 746 | #if defined(CONFIG_BOARD_POSTCLK_INIT) |
745 | 747 | board_postclk_init, |
746 | 748 | #endif |