ARM: s3c24xx: Remove non-existing CONFIG_CPU_S3C2413
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 17 Jul 2017 05:48:07 +0000 (07:48 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 20 Jul 2017 05:17:43 +0000 (07:17 +0200)
There is no CONFIG_CPU_S3C2413 so get rid of it.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-s3c24xx/common.c
arch/arm/mach-s3c24xx/include/mach/regs-clock.h
arch/arm/plat-samsung/include/plat/map-s3c.h

index b59f4f4..5b6b94e 100644 (file)
@@ -173,7 +173,7 @@ static unsigned long s3c24xx_read_idcode_v5(void)
                return gs;
 #endif
 
-#if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413)
+#if defined(CONFIG_CPU_S3C2412)
        return __raw_readl(S3C2412_GSTATUS1);
 #else
        return 1UL;     /* don't look like an 2400 */
index 3db6c10..ae4a3e0 100644 (file)
@@ -77,7 +77,7 @@
 
 #endif /* CONFIG_CPU_S3C2440 or CONFIG_CPU_S3C2442 */
 
-#if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413)
+#if defined(CONFIG_CPU_S3C2412)
 
 #define S3C2412_OSCSET         S3C2410_CLKREG(0x18)
 #define S3C2412_CLKSRC         S3C2410_CLKREG(0x1C)
 #define S3C2412_CLKSRC_UREFCLK_EXTCLK  (1<<12)
 #define S3C2412_CLKSRC_EREFCLK_EXTCLK  (1<<14)
 
-#endif /* CONFIG_CPU_S3C2412 | CONFIG_CPU_S3C2413 */
+#endif /* CONFIG_CPU_S3C2412 */
 
 #define S3C2416_CLKDIV2                S3C2410_CLKREG(0x28)
 
index 6feedd4..3310491 100644 (file)
@@ -61,7 +61,7 @@
 
 /* deal with the registers that move under the 2412/2413 */
 
-#if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413)
+#if defined(CONFIG_CPU_S3C2412)
 #ifndef __ASSEMBLY__
 extern void __iomem *s3c24xx_va_gpio2;
 #endif