]> git.sur5r.net Git - u-boot/commitdiff
ppc4xx: Fix power mgt definitions for PPC440
authorEugene O'Brien <eugene.obrien@advantechamt.com>
Fri, 11 Apr 2008 14:00:35 +0000 (10:00 -0400)
committerStefan Roese <sr@denx.de>
Fri, 11 Apr 2008 14:27:58 +0000 (16:27 +0200)
Corrected DCR addresses of PPC440EP power management registers.

Signed-off-by: Eugene O'Brien <eugene.obrien@advantechamt.com>
include/ppc440.h

index 642d1ded7628edd3e0db4e2653bbb2f0b4b30674..bb39ad63175dda78ca23c606e7612b57cb7f8938 100644 (file)
 #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   */