Browse Source

[ARM] S3C64XX: Fix MMC0 clock source register mask

Fix the definition of the MMC0 register shift and mask in the
CLKSRC register.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Ben Dooks 16 years ago
parent
commit
44539a7112
1 changed files with 2 additions and 2 deletions
  1. 2 2
      arch/arm/plat-s3c64xx/include/plat/regs-clock.h

+ 2 - 2
arch/arm/plat-s3c64xx/include/plat/regs-clock.h

@@ -205,8 +205,8 @@
 #define S3C6400_CLKSRC_MMC2_SHIFT	(22)
 #define S3C6400_CLKSRC_MMC1_MASK	(0x3 << 20)
 #define S3C6400_CLKSRC_MMC1_SHIFT	(20)
-#define S3C6400_CLKSRC_MMC0_MASK	(0xf << 1)
-#define S3C6400_CLKSRC_MMC0_SHIFT	(1)
+#define S3C6400_CLKSRC_MMC0_MASK	(0x3 << 18)
+#define S3C6400_CLKSRC_MMC0_SHIFT	(18)
 #define S3C6400_CLKSRC_SPI1_MASK	(0x3 << 16)
 #define S3C6400_CLKSRC_SPI1_SHIFT	(16)
 #define S3C6400_CLKSRC_SPI0_MASK	(0x3 << 14)