From 4495dae0e8c418da4868ac671088190875af9180 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 12 Feb 2013 13:52:18 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5163 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC56ELxx/hal_lld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'os/hal/platforms/SPC56ELxx') diff --git a/os/hal/platforms/SPC56ELxx/hal_lld.c b/os/hal/platforms/SPC56ELxx/hal_lld.c index 2c5708345..9d2f82974 100644 --- a/os/hal/platforms/SPC56ELxx/hal_lld.c +++ b/os/hal/platforms/SPC56ELxx/hal_lld.c @@ -137,7 +137,8 @@ void spc_early_init(void) { AIPS.OPACR80_87.R = 0; AIPS.OPACR88_95.R = 0; - /* Check on a safe condition.*/ + /* The system must be in DRUN mode on entry, if this is not the case then + it is considered a serious anomaly.*/ if (ME.GS.B.S_CURRENT_MODE != SPC5_RUNMODE_DRUN) { SPC5_CLOCK_FAILURE_HOOK(); } -- cgit v1.2.3