diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-29 09:50:34 -0500 |
---|---|---|
committer | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-01-31 19:46:20 -0500 |
commit | 16560854d06da88de43ddc5df8c0ba3e90328a9d (patch) | |
tree | 546686f7c712f98eddb871c820686272b0e30559 | |
parent | bde491fde0d56b56081a2452b08c05cbf3b820d4 (diff) |
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index c94ef77405ed..5884bbb7952e 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
@@ -405,7 +405,7 @@ config MACH_S3C2416_DT | |||
405 | 405 | ||
406 | endif # CPU_S3C2416 | 406 | endif # CPU_S3C2416 |
407 | 407 | ||
408 | if CPU_S3C2440 | 408 | if CPU_S3C2440 || CPU_S3C2442 |
409 | 409 | ||
410 | config S3C2440_XTAL_12000000 | 410 | config S3C2440_XTAL_12000000 |
411 | bool | 411 | bool |
@@ -432,6 +432,9 @@ config S3C2440_PLL_16934400 | |||
432 | default y if S3C24XX_PLL | 432 | default y if S3C24XX_PLL |
433 | help | 433 | help |
434 | PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. | 434 | PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. |
435 | endif | ||
436 | |||
437 | if CPU_S3C2440 | ||
435 | 438 | ||
436 | comment "S3C2440 Boards" | 439 | comment "S3C2440 Boards" |
437 | 440 | ||