From: mahi Date: Wed, 19 Sep 2012 06:34:05 +0000 (+0200) Subject: Bug: mpc560x was forced to defined sleep X-Git-Url: http://rtime.felk.cvut.cz/gitweb/arc.git/commitdiff_plain/d155a3b263b202c7dffcdc73dbc7e70050ab02fc?hp=adbee960da5023e7940089dc880f5f47e1ac873c Bug: mpc560x was forced to defined sleep --- diff --git a/arch/ppc/mpc55xx/drivers/Mcu.c b/arch/ppc/mpc55xx/drivers/Mcu.c index ab43113e..d216c45c 100644 --- a/arch/ppc/mpc55xx/drivers/Mcu.c +++ b/arch/ppc/mpc55xx/drivers/Mcu.c @@ -37,6 +37,7 @@ #define SYSCLOCK_SELECT_PLL 0x2 +#if defined(CFG_MPC5516) || defined(CFG_MPC5668) #if defined(CFG_MPC5516) || defined(CFG_MPC5668) #define CRP_BASE (0xFFFEC000ul) @@ -78,6 +79,8 @@ #error Please define RAMSEL_VAL #endif +#endif + /* ----------------------------[private macro]-------------------------------*/ diff --git a/scripts/rules.mk b/scripts/rules.mk index 7bfe0ef7..e41b18fc 100644 --- a/scripts/rules.mk +++ b/scripts/rules.mk @@ -27,8 +27,8 @@ endif ifeq (${COMPILER},cw) ifneq (${CW_COMPILE},${DEFAULT_CW_COMPILE}) ${warning Not using default cross compiler for architecture.} -${warning CROSS_COMPILE: ${CW_COMPILE} [${origin CW_COMPILE}]} -${warning DEFAULT_CROSS_COMPILE: ${DEFAULT_CW_COMPILE} [${origin DEFAULT_CW_COMPILE}]} +${warning CW_COMPILE: ${CW_COMPILE} [${origin CW_COMPILE}]} +${warning DEFAULT_CW_COMPILE: ${DEFAULT_CW_COMPILE} [${origin DEFAULT_CW_COMPILE}]} endif else ifneq (${DEFAULT_CROSS_COMPILE},)