From patchwork Mon Apr 7 15:54:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 27916 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 573A320553 for ; Mon, 7 Apr 2014 15:54:48 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id kq14sf26321096pab.6 for ; Mon, 07 Apr 2014 08:54:47 -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=qsXuTYbe6FTXetVZBw7ApHGybS9h3ipgZ6uLF+2xlMg=; b=C3vT2uTRCcFnnYybUTeV6fXiU1SbYk4DDj9LiSKpdbgrjeMhIuD3P0DGvuPGOPSxGf 3DG+wkFBPk+ypeGpxnLu+KmX/LMTqq26q3bCpj99B9BCh+AjnQ2TNFUV4ZG97OSPcRWH MEZNWmwcs7wdk2a39PKNCV77LU2i3a324+S8kv+QtOsGriTDtoClYZQQGVjG9Y8Ct49A liyRbBDk6QD7w/X5ol/Dvuy8sVgH5oAb14ukbBOZqCOu0I3c8RPPsFiSo1XdzVR4ohP1 fA5jcyg2nDalKjcdAMFwewMkxmlHlG7i1A4eFFaV+/1ixXkdPyPk1uHSWeOCbPE+iXnl GXxQ== X-Gm-Message-State: ALoCoQnjItzALdyz8+2rHNFulec1dtxQbpp2vSHi/EOUcRLD8jE8YkYHRS5RgvzXXmg3KISk581E X-Received: by 10.66.252.198 with SMTP id zu6mr13574642pac.25.1396886087333; Mon, 07 Apr 2014 08:54:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.135 with SMTP id i7ls1755042qge.7.gmail; Mon, 07 Apr 2014 08:54:47 -0700 (PDT) X-Received: by 10.52.37.196 with SMTP id a4mr1059878vdk.33.1396886087146; Mon, 07 Apr 2014 08:54:47 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id ys8si2194232veb.106.2014.04.07.08.54.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Apr 2014 08:54:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so5409754vcb.18 for ; Mon, 07 Apr 2014 08:54:47 -0700 (PDT) X-Received: by 10.52.90.37 with SMTP id bt5mr25458298vdb.7.1396886087069; Mon, 07 Apr 2014 08:54:47 -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.12.8 with SMTP id v8csp173418vcv; Mon, 7 Apr 2014 08:54:46 -0700 (PDT) X-Received: by 10.180.75.45 with SMTP id z13mr14283440wiv.41.1396886086257; Mon, 07 Apr 2014 08:54:46 -0700 (PDT) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by mx.google.com with ESMTPS id bv14si3632345wjb.41.2014.04.07.08.54.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Apr 2014 08:54:46 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.180 is neither permitted nor denied by best guess record for domain of daniel.thompson@linaro.org) client-ip=209.85.212.180; Received: by mail-wi0-f180.google.com with SMTP id q5so5324745wiv.13 for ; Mon, 07 Apr 2014 08:54:45 -0700 (PDT) X-Received: by 10.180.73.19 with SMTP id h19mr26249431wiv.40.1396886085673; Mon, 07 Apr 2014 08:54:45 -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 xs1sm27074979wjb.27.2014.04.07.08.54.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Apr 2014 08:54:44 -0700 (PDT) From: Daniel Thompson To: Russell King Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, Daniel Thompson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Arnd Bergmann , Paul Bolle Subject: [PATCH v4 3/5] ARM: Conceal DEBUG_LL_UART_NONE from unsupported platforms Date: Mon, 7 Apr 2014 16:54:14 +0100 Message-Id: <1396886056-18132-4-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1396886056-18132-1-git-send-email-daniel.thompson@linaro.org> References: <1396626102-13991-1-git-send-email-daniel.thompson@linaro.org> <1396886056-18132-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=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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 0531da8..0702d6d 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -846,7 +846,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