All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] board_f: skip timer_init() on Coldfire archs
@ 2017-05-10 21:58 Angelo Dureghello
  2017-05-10 22:03 ` Simon Glass
  2017-05-15 23:18 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 6+ messages in thread
From: Angelo Dureghello @ 2017-05-10 21:58 UTC (permalink / raw)
  To: u-boot

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 | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-19  7:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-10 21:58 [U-Boot] [PATCH] board_f: skip timer_init() on Coldfire archs Angelo Dureghello
2017-05-10 22:03 ` Simon Glass
2017-05-10 22:36   ` Angelo Dureghello
2017-05-17  1:38     ` Simon Glass
2017-05-19  7:49       ` Angelo Dureghello
2017-05-15 23:18 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.