aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC56ELxx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-12 13:52:18 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-12 13:52:18 +0000
commit4495dae0e8c418da4868ac671088190875af9180 (patch)
treea808bb4878c11973d8daab0b0fb5ab97b8de530e /os/hal/platforms/SPC56ELxx
parent6fd759c00ad15a4aaf19b244c29f8da686a12915 (diff)
downloadChibiOS-4495dae0e8c418da4868ac671088190875af9180.tar.gz
ChibiOS-4495dae0e8c418da4868ac671088190875af9180.tar.bz2
ChibiOS-4495dae0e8c418da4868ac671088190875af9180.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5163 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC56ELxx')
-rw-r--r--os/hal/platforms/SPC56ELxx/hal_lld.c3
1 files changed, 2 insertions, 1 deletions
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();
}