]> rtime.felk.cvut.cz Git - arc.git/blobdiff - arch/ppc/mpc55xx/drivers/Mcu.c
Mcu: Fixed hang when running the ISS
[arc.git] / arch / ppc / mpc55xx / drivers / Mcu.c
index 751ee719d3ec23da831aae1bcfba46bc0882daf2..12c8a06c0569e873df4fa48f15904cc9f57993d5 100644 (file)
@@ -383,7 +383,9 @@ Std_ReturnType Mcu_InitClock(const Mcu_ClockType ClockSetting)
 \r
     // TODO: find out if the 5554 really works like the 5516 here\r
     // All three (16, 54, 67) used to run the same code here though, so i'm sticking it with 5516\r
-#if defined(CFG_MPC5516) || defined(CFG_MPC5554) || defined(CFG_MPC5668)\r
+#if defined(CFG_SIMULATOR)\r
+    return E_OK;\r
+#elif defined(CFG_MPC5516) || defined(CFG_MPC5554) || defined(CFG_MPC5668)\r
     /* 5516clock info:\r
      * Fsys - System frequency ( CPU + all periperals? )\r
      *\r