]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board_f: skip timer_init() on Coldfire archs
authorAngelo Dureghello <angelo@sysam.it>
Wed, 10 May 2017 21:58:06 +0000 (23:58 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 15 May 2017 14:38:09 +0000 (10:38 -0400)
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>
common/board_f.c

index d9431ee79a86bbcb8d4a3fceabbc8f0d3ae0dc69..30e588e213f76f9d8551294c5586e04e010d0297 100644 (file)
@@ -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