From 0cd74533cac5e98cdd17c4bdab2cb825fed55cff Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 28 Jul 2015 00:38:38 +0800 Subject: [PATCH] runtime: more explicit message about startup clock failure --- soc/runtime/rtiocrg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/soc/runtime/rtiocrg.c b/soc/runtime/rtiocrg.c index 08cabd5b2..255f2a308 100644 --- a/soc/runtime/rtiocrg.c +++ b/soc/runtime/rtiocrg.c @@ -24,8 +24,11 @@ void rtiocrg_init(void) } else printf("WARNING: unknown startup_clock entry in flash storage\n"); - if(!rtiocrg_switch_clock(clk)) + if(!rtiocrg_switch_clock(clk)) { printf("WARNING: startup RTIO clock failed\n"); + printf("WARNING: this may cause the system initialization to fail\n"); + printf("WARNING: fix clocking and reset the device\n"); + } } int rtiocrg_check(void)