From: Eugene O'Brien Date: Fri, 11 Apr 2008 14:00:35 +0000 (-0400) Subject: ppc4xx: Fix power mgt definitions for PPC440 X-Git-Tag: v1.3.3-rc1~107^2~3^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5b2052e5f5fcce5dbd4d2750a29c0e45bce806e7;p=u-boot ppc4xx: Fix power mgt definitions for PPC440 Corrected DCR addresses of PPC440EP power management registers. Signed-off-by: Eugene O'Brien --- diff --git a/include/ppc440.h b/include/ppc440.h index 642d1ded76..bb39ad6317 100644 --- a/include/ppc440.h +++ b/include/ppc440.h @@ -1731,17 +1731,10 @@ #else #define CNTRL_DCR_BASE 0x0b0 #endif -#if defined(CONFIG_440GX) || \ - defined(CONFIG_440SP) || defined(CONFIG_440SPE) || \ - defined(CONFIG_460EX) || defined(CONFIG_460GT) + #define cpc0_er (CNTRL_DCR_BASE+0x00) /* CPM enable register */ #define cpc0_fr (CNTRL_DCR_BASE+0x01) /* CPM force register */ #define cpc0_sr (CNTRL_DCR_BASE+0x02) /* CPM status register */ -#else -#define cpc0_sr (CNTRL_DCR_BASE+0x00) /* CPM status register */ -#define cpc0_er (CNTRL_DCR_BASE+0x01) /* CPM enable register */ -#define cpc0_fr (CNTRL_DCR_BASE+0x02) /* CPM force register */ -#endif #define cpc0_sys0 (CNTRL_DCR_BASE+0x30) /* System configuration reg 0 */ #define cpc0_sys1 (CNTRL_DCR_BASE+0x31) /* System configuration reg 1 */