diff options
author | Angelo Dureghello <angelo@sysam.it> | 2017-05-10 23:58:06 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-15 10:38:09 -0400 |
commit | 0ce452872fc5cadffa4d1dd15377dd66fa457348 (patch) | |
tree | 578262edc0f8a40ff4fcf0b606b2dccc6f4a1f7f | |
parent | bcc1726a7bdd910b482528fde2faef21bff3b361 (diff) | |
download | u-boot-0ce452872fc5cadffa4d1dd15377dd66fa457348.zip u-boot-0ce452872fc5cadffa4d1dd15377dd66fa457348.tar.gz u-boot-0ce452872fc5cadffa4d1dd15377dd66fa457348.tar.bz2 |
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>
-rw-r--r-- | common/board_f.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/board_f.c b/common/board_f.c index d9431ee..30e588e 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 |