Skip to contentSkip to conversation

s3c64xx: Fix S3C64XX_CLKDIV0_ARM_MASK value

PATCH New Kukjin Kim 2 participants 2 messages Sep 5, 2009 – Sep 16, 2009

Subsystems (3)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH 1/3 s3c64xx: Fix S3C64XX_CLKDIV0_ARM_MASK value

The value of S3C64XX_CLKDIV0_ARM_MASK is wrong. This patch fixes this values, S3C6400_CLKDIV0_ARM_MASK and S3C6410_CLKDIV0_ARM_MASK.

---

 arch/arm/plat-s3c64xx/include/plat/regs-clock.h |    4 ++--                                    
 1 files changed, 2 insertions(+), 2 deletions(-)                                               
arch/arm/plat-s3c64xx/include/plat/regs-clock.h +2 -2
index a8777a7..ff46e7f 100644                                                                   
@@ -51,8 +51,8 @@
 #define S3C6400_CLKDIV0_HCLK_SHIFT     (8)                                                     
 #define S3C6400_CLKDIV0_MPLL_MASK      (0x1 << 4)                                              
 #define S3C6400_CLKDIV0_MPLL_SHIFT     (4)                                                     
-#define S3C6400_CLKDIV0_ARM_MASK       (0x3 << 0)                                              
-#define S3C6410_CLKDIV0_ARM_MASK       (0x7 << 0)                                              
+#define S3C6400_CLKDIV0_ARM_MASK       (0x7 << 0)
+#define S3C6410_CLKDIV0_ARM_MASK       (0xf << 0)                                              
 #define S3C6400_CLKDIV0_ARM_SHIFT      (0)                                                     
 
 /* CLKDIV1 */                                                                                  
Signature · 1 line
1.5.3.4
#1 lore raw

PATCH 1/3 s3c64xx: Fix S3C64XX_CLKDIV0_ARM_MASK value

Quoted 14 lines · Kukjin Kim

The value of S3C64XX_CLKDIV0_ARM_MASK is wrong. This patch fixes this values, S3C6400_CLKDIV0_ARM_MASK and S3C6410_CLKDIV0_ARM_MASK.

---

 arch/arm/plat-s3c64xx/include/plat/regs-clock.h |    4 ++--                                    
 1 files changed, 2 insertions(+), 2 deletions(-)                                               
arch/arm/plat-s3c64xx/include/plat/regs-clock.h +0 -0
index a8777a7..ff46e7f 100644                                                                   

arch/arm/plat-s3c64xx/include/plat/regs-clock.h line 55

Quoted 7 lines
arch/arm/plat-s3c64xx/include/plat/regs-clock.h +2 -2
@@ -51,8 +51,8 @@
 #define S3C6400_CLKDIV0_HCLK_SHIFT     (8)                                                     
 #define S3C6400_CLKDIV0_MPLL_MASK      (0x1 << 4)                                              
 #define S3C6400_CLKDIV0_MPLL_SHIFT     (4)                                                     
-#define S3C6400_CLKDIV0_ARM_MASK       (0x3 << 0)                                              
-#define S3C6410_CLKDIV0_ARM_MASK       (0x7 << 0)                                              
+#define S3C6400_CLKDIV0_ARM_MASK       (0x7 << 0)
+#define S3C6410_CLKDIV0_ARM_MASK       (0xf << 0)                                              

This looks ok, please re-post without the extra whitespace.

Quoted 9 lines
arch/arm/plat-s3c64xx/include/plat/regs-clock.h +0 -0
 #define S3C6400_CLKDIV0_ARM_SHIFT      (0)                                                     
 
 /* CLKDIV1 */                                                                                  
Signature · 5 lines
1.5.3.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 5 lines
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.