From patchwork Fri Jan 29 14:50:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101024 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1163635lbb; Fri, 29 Jan 2016 06:51:52 -0800 (PST) X-Received: by 10.98.87.196 with SMTP id i65mr13874500pfj.72.1454079112138; Fri, 29 Jan 2016 06:51:52 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id we2si2644364pac.127.2016.01.29.06.51.51; Fri, 29 Jan 2016 06:51:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756435AbcA2Ovm (ORCPT + 30 others); Fri, 29 Jan 2016 09:51:42 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:61403 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756390AbcA2Ovj (ORCPT ); Fri, 29 Jan 2016 09:51:39 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MJl3M-1aQGJp0z0G-001EXz; Fri, 29 Jan 2016 15:51:05 +0100 From: Arnd Bergmann To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 2/6] ARM: s3c24xx: allow selecting S3C2440_XTAL_16934400 for s3c2442 Date: Fri, 29 Jan 2016 15:50:34 +0100 Message-Id: <1454079040-3567945-3-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454079040-3567945-1-git-send-email-arnd@arndb.de> References: <1454079040-3567945-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:Cwi5hI6ljT44BP2Wm/yL+dM5F63+/i46+Py0UyUVYlTjEDJGyQl u5pfOa0cUYWM76Tb50YS6c6jwLkDu2BBjQtFI0UgPcoursX8BaJpGwWdaJ6k2w9pcFEpjNv HyheYwgz7fH1HIf44Pvj+W60Ei8lBWoZ3gV5CD1xIGes+dN4uBwBT+Q3xTZeahP1sTLi7VI AfDMv5Dy3FEBb5Sdh5SxA== X-UI-Out-Filterresults: notjunk:1; V01:K0:HvVkTVUqlWE=:nxP5vZS5h1qzgc/JCYH/jM pQjoptUDQOuvE73jFM6eVqX/KHH7+TlI3PRHwTvVnDAkWWTq2kXnao8GnLX6FBw4DJxDjuB/j Lc282AVKyN8Y2Ht6vToMw7w0aE9f72G5rx+xRrJGzM2+Z/V8f4wmc5pa0PIxJQ07xXoH7HtAN qY3VGRSmEUnfA7IV0IxK8ZQH4pzrHwyjPbJUCqRIOh4qjFqsc0iQ149WYo+6qwrQO7gmEA9vl 24d7ygam4sCbB71e9tRgk9oK0M6lMNqVFbF7jc4H9eGHnjlYnt2m6BLHeXsQ3SKjkKfXdIpcA cMYCwO7t+NJ1WTd0ERpsCn8GShdsvdCdwvhlZEQHpbpSvp5gzqORSX2kZrAxV1GyMqrJvkKDX I9NY26d62HB1kO1ZAhO00+0Thdm48g+wQTtrfSL7pXHR+B+Vw0ii7P2DbqfsK2+n4tz7RXvVB Tk+xLh76/GuKPLDX/+BWagBvhCZ8TwgrAZay2n0XnWQi08l+sNCjxkhMBjYGN0RYQ64Ygv1EJ jh0cWrdJ3AYIshcZFZWNQtyP5a+SNLOCPQZGa6emGxX5fA2zeWW8AIhKtntX/l18ubyFRZyCG 5fGyBroOIaEj6ihphxh+YXGc9nRPX/QirDNq+VWgPbwzu+DxWpskZMHLt6qjnj9zdp8oRlnFW gKuOwtNulvkfiAhgKHEPvPHKt4WhNmJhQzPCRS3iD82wwIYOE7yDQV4+4DQlKeA/R9+Y= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/mach-s3c24xx/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.7.0 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 endif # CPU_S3C2416 -if CPU_S3C2440 +if CPU_S3C2440 || CPU_S3C2442 config S3C2440_XTAL_12000000 bool @@ -432,6 +432,9 @@ config S3C2440_PLL_16934400 default y if S3C24XX_PLL help PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. +endif + +if CPU_S3C2440 comment "S3C2440 Boards"