From patchwork Fri May 23 15:10:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 30806 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A829B2066E for ; Fri, 23 May 2014 15:10:43 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id wo20sf22693517obc.11 for ; Fri, 23 May 2014 08:10:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=b6CZhqNTDxZ4Wh7AlIGRy5cpvo4bNP/IQRR+rZGWLMM=; b=kS3MFbdV5JtWX+SqyDCzjFOJBQ2kNUo4Kr0Ku5npp6gSnAJTJl26eiK4YBxyXxeyGj z3h8XNxLoHvF54+EOGqelfoLN+uGSqf/onsvMkLXDRSsWRIFO2JVqZda5/6RgM4zfAYy fuD3Pq9JC43J8lZf6EZzRTJtfUym246NExyrDbh1NGLl+NdOVEIR279rEOJYPtNYntJ2 gFRnjTs+wAZ/IjmktiCSsqqnso86f84wQpkO3eyBK6zJyly+tR21IAWXfwjJqS957Lsa MFQgnEd5os2D1BGCb3PQ35oZ2dc0q8zYZj7ZST5PZEbf2wbiiQQgTiJwJtIkE4BYWg4R F6ow== X-Gm-Message-State: ALoCoQkzTB/y99BVD7V6Yda52DOus6mt/E12Q5ZOoWGKwyaFQejMUkNR1/WFJU+VbZqJ3JKyVDxC X-Received: by 10.182.24.5 with SMTP id q5mr2344645obf.23.1400857843250; Fri, 23 May 2014 08:10:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.165 with SMTP id d34ls1755152qgd.25.gmail; Fri, 23 May 2014 08:10:43 -0700 (PDT) X-Received: by 10.221.19.196 with SMTP id ql4mr999711vcb.64.1400857843126; Fri, 23 May 2014 08:10:43 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id eq10si1795151vdc.34.2014.05.23.08.10.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 08:10:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.175 as permitted sender) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id jw12so6360783veb.6 for ; Fri, 23 May 2014 08:10:43 -0700 (PDT) X-Received: by 10.220.5.129 with SMTP id 1mr994133vcv.71.1400857843068; Fri, 23 May 2014 08:10:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp39308vcb; Fri, 23 May 2014 08:10:42 -0700 (PDT) X-Received: by 10.194.120.68 with SMTP id la4mr4908488wjb.40.1400857842171; Fri, 23 May 2014 08:10:42 -0700 (PDT) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by mx.google.com with ESMTPS id hn3si2756197wjc.135.2014.05.23.08.10.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 08:10:42 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.172 as permitted sender) client-ip=74.125.82.172; Received: by mail-we0-f172.google.com with SMTP id k48so5063366wev.3 for ; Fri, 23 May 2014 08:10:41 -0700 (PDT) X-Received: by 10.194.5.5 with SMTP id o5mr4970672wjo.16.1400857841742; Fri, 23 May 2014 08:10:41 -0700 (PDT) Received: from sundance.lan (cpc4-aztw19-0-0-cust157.18-1.cable.virginm.net. [82.33.25.158]) by mx.google.com with ESMTPSA id l9sm3377318wic.21.2014.05.23.08.10.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 May 2014 08:10:40 -0700 (PDT) From: Daniel Thompson To: Russell King Cc: Daniel Thompson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Arnd Bergmann , Paul Bolle , patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [RESEND PATCH v5 3/5] ARM: Conceal DEBUG_LL_UART_NONE from unsupported platforms Date: Fri, 23 May 2014 16:10:17 +0100 Message-Id: <1400857819-7975-4-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1400857819-7975-1-git-send-email-daniel.thompson@linaro.org> References: <1398355246-29571-1-git-send-email-daniel.thompson@linaro.org> <1400857819-7975-1-git-send-email-daniel.thompson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.thompson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Only a small handful of platforms support DEBUG_LL_UART_NONE but it lurks in the menus of every single platform config ready to break the build. This is an especial problem for defconfigs since it is often selected by default. This patch limit this choice only to platforms capable of supporting it. Signed-off-by: Daniel Thompson --- arch/arm/Kconfig.debug | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index eab8ecb..4c8d7db 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -842,7 +842,18 @@ choice config DEBUG_LL_UART_NONE bool "No low-level debugging UART" - depends on !ARCH_MULTIPLATFORM + depends on ARCH_AT91 || \ + ARCH_CLPS711X || \ + ARCH_FOOTBRIDGE || \ + ARCH_KS8695 || \ + ARCH_NETX || \ + ARCH_OMAP1 || \ + ARCH_SA1100 || \ + ARCH_S3C24XX || \ + ARCH_S3C64XX || \ + ARCH_S5P64X0 || \ + ARCH_S5PC100 || \ + ARCH_S5PV210 help Say Y here if your platform doesn't provide a UART option above. This relies on your platform choosing the right UART