From: mahi Date: Fri, 14 Sep 2012 06:02:39 +0000 (+0200) Subject: Mcu: Fixed hang when running the ISS X-Git-Url: http://rtime.felk.cvut.cz/gitweb/arc.git/commitdiff_plain/391d4f827ba67b4d7434936c4d0e0121fc94dbac?ds=sidebyside Mcu: Fixed hang when running the ISS --- diff --git a/arch/ppc/mpc55xx/drivers/Mcu.c b/arch/ppc/mpc55xx/drivers/Mcu.c index 751ee719..12c8a06c 100644 --- a/arch/ppc/mpc55xx/drivers/Mcu.c +++ b/arch/ppc/mpc55xx/drivers/Mcu.c @@ -383,7 +383,9 @@ Std_ReturnType Mcu_InitClock(const Mcu_ClockType ClockSetting) // TODO: find out if the 5554 really works like the 5516 here // All three (16, 54, 67) used to run the same code here though, so i'm sticking it with 5516 -#if defined(CFG_MPC5516) || defined(CFG_MPC5554) || defined(CFG_MPC5668) +#if defined(CFG_SIMULATOR) + return E_OK; +#elif defined(CFG_MPC5516) || defined(CFG_MPC5554) || defined(CFG_MPC5668) /* 5516clock info: * Fsys - System frequency ( CPU + all periperals? ) *