Commit 16560854 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Krzysztof Kozlowski

ARM: s3c24xx: allow selecting S3C2440_XTAL_16934400 for s3c2442

The S3C2440_XTAL_16934400 and S3C2440_XTAL_12000000 symbols are used
for both s3c2442 and s3c2440, but Kconfig only allows it to be selected
if CPU_S3C2440 is enabled, which can lead to a warning otherwise:

warning: (MACH_RX1950) selects S3C2440_XTAL_16934400 which has unmet direct dependencies (ARCH_S3C24XX && CPU_S3C2440)

This changes the dependencies to make it possible also for CPU_S3C2442-only
configurations.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
parent bde491fd
...@@ -405,7 +405,7 @@ config MACH_S3C2416_DT ...@@ -405,7 +405,7 @@ config MACH_S3C2416_DT
endif # CPU_S3C2416 endif # CPU_S3C2416
if CPU_S3C2440 if CPU_S3C2440 || CPU_S3C2442
config S3C2440_XTAL_12000000 config S3C2440_XTAL_12000000
bool bool
...@@ -432,6 +432,9 @@ config S3C2440_PLL_16934400 ...@@ -432,6 +432,9 @@ config S3C2440_PLL_16934400
default y if S3C24XX_PLL default y if S3C24XX_PLL
help help
PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
endif
if CPU_S3C2440
comment "S3C2440 Boards" comment "S3C2440 Boards"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment