]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
pxa: fix CKEN_B register bits
authorDaniel Mack <daniel@caiaq.de>
Tue, 23 Jun 2009 15:30:05 +0000 (17:30 +0200)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 12 Jul 2009 15:43:32 +0000 (17:43 +0200)
The current defition for CKEN_B register bits is nonsense. Adding 32 to
the shifted value is equal to '| (1 << 5)', and this bit is marked
'reserved' in the PXA docs.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
include/asm-arm/arch-pxa/pxa-regs.h

index 1f81e118759443192a2fc84fad8348f4be01b834..2a723dceaafb316c1c465efa0b35b73a03c6bb3e 100644 (file)
@@ -1953,12 +1953,12 @@ typedef void            (*ExcpHndlr) (void) ;
 #define CKENA_1_LCD    (1 << 1)        /* LCD Unit Clock Enable */
 
 #define CKENB_9_SYSBUS2        (1 << 9)        /* System bus 2 */
-#define CKENB_8_1WIRE  ((1 << 8) + 32) /* One Wire Interface Unit Clock Enable */
-#define CKENB_7_GPIO   ((1 << 7) + 32) /* GPIO Clock Enable */
-#define CKENB_6_IRQ    ((1 << 6) + 32) /* Interrupt Controller Clock Enable */
-#define CKENB_4_I2C    ((1 << 4) + 32) /* I2C Unit Clock Enable */
-#define CKENB_1_PWM1   ((1 << 1) + 32) /* PWM2 & PWM3 Clock Enable */
-#define CKENB_0_PWM0   ((1 << 0) + 32) /* PWM0 & PWM1 Clock Enable */
+#define CKENB_8_1WIRE  (1 << 8)        /* One Wire Interface Unit Clock Enable */
+#define CKENB_7_GPIO   (1 << 7)        /* GPIO Clock Enable */
+#define CKENB_6_IRQ    (1 << 6)        /* Interrupt Controller Clock Enable */
+#define CKENB_4_I2C    (1 << 4)        /* I2C Unit Clock Enable */
+#define CKENB_1_PWM1   (1 << 1)        /* PWM2 & PWM3 Clock Enable */
+#define CKENB_0_PWM0   (1 << 0)        /* PWM0 & PWM1 Clock Enable */
 
 #else /* if defined CONFIG_CPU_MONAHANS */