]> rtime.felk.cvut.cz Git - arc.git/blobdiff - arch/ppc/mpc55xx/drivers/Mcu_Sleep.sx
Mcu, sleep fixes for mpc5668.
[arc.git] / arch / ppc / mpc55xx / drivers / Mcu_Sleep.sx
index 485fa9029e0ec64584d466713e89c8d7970c4c89..4b2532d5707b020851b589a52189dd1b74e00434 100644 (file)
 .section .text\r
 #endif\r
 \r
-\r
+#if defined(CFG_MPC5516) || defined(CFG_MPC5668)\r
 #define CRP_RECPTR             0xfffec058\r
+#else\r
+#error\r
+#endif\r
 \r
        .global McuE_EnterLowPower\r
        \r
@@ -122,7 +125,7 @@ McuE_LowPowerRecoverFlash:
  #define VLE_VAL               0\r
  #endif\r
 \r
-#if defined(CFG_MPC5516)\r
+#if defined(CFG_MPC5516) || defined(CFG_MPC5668)\r
 #define SRAM_START                     0x40000000\r
 #define FLASH_START                    0x00000000\r
 #define PERIPHERAL_START       0xfff00000\r