From patchwork Thu Apr 24 16:00:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 28992 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 91503203AC for ; Thu, 24 Apr 2014 16:01:26 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i4sf14955860oah.0 for ; Thu, 24 Apr 2014 09:01:26 -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=a0bORWbwt+Aao1vAjga3rIOX/Yrl46hMspJZ+s0ofkU=; b=iMWupMhlOb8rN/NdWmfmZKlaMJlCXRdxXhUi4C07J8n+q3M7/XSVMqbxhZzDlV0acj j816ezuiiv1XVrMz4YKaGBo1ET0lrELaESzQYRPJF2rHpXWBoPSqinAwGxTgZ8U7fKum yWwdfEqVhu4rnUsvdqWBA4/Zl4N6MPJy+jnZdWHI7WvnIilzGucc3c30xk2b9wkPL670 svtOiuNg+7G8VTNBUDlvUepGOSlZ08zokQazEhhn37R/V90NpBEfAKoDoiIQTCYP5JD9 8Xs04Es9a0KdeSSlGHD5a3fsG9AhWDB6kwrB5uEv9qzd/qZizXtVyNi1Layikw7hLuWt B0nA== X-Gm-Message-State: ALoCoQnvGSFHhKItJPcZs9dW5J9exvKs/jyLzcDhd0oHimynijzzlveSUx8Oy68nylrr4wjOWFcx X-Received: by 10.42.155.137 with SMTP id u9mr1443260icw.12.1398355286054; Thu, 24 Apr 2014 09:01:26 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.163 with SMTP id d32ls1088376qgd.44.gmail; Thu, 24 Apr 2014 09:01:25 -0700 (PDT) X-Received: by 10.58.132.228 with SMTP id ox4mr908125veb.54.1398355285895; Thu, 24 Apr 2014 09:01:25 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id cb3si1025885vdc.59.2014.04.24.09.01.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 09:01:25 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so3154155veb.4 for ; Thu, 24 Apr 2014 09:01:25 -0700 (PDT) X-Received: by 10.58.13.104 with SMTP id g8mr1783569vec.16.1398355285824; Thu, 24 Apr 2014 09:01:25 -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 ib8csp27535vcb; Thu, 24 Apr 2014 09:01:25 -0700 (PDT) X-Received: by 10.194.89.168 with SMTP id bp8mr1872996wjb.73.1398355284942; Thu, 24 Apr 2014 09:01:24 -0700 (PDT) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by mx.google.com with ESMTPS id rx16si2555222wjb.142.2014.04.24.09.01.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 09:01:24 -0700 (PDT) Received-SPF: none (google.com: daniel.thompson@linaro.org does not designate permitted sender hosts) client-ip=74.125.82.181; Received: by mail-we0-f181.google.com with SMTP id q58so2472134wes.12 for ; Thu, 24 Apr 2014 09:01:24 -0700 (PDT) X-Received: by 10.194.82.35 with SMTP id f3mr2526911wjy.36.1398355284498; Thu, 24 Apr 2014 09:01:24 -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 v6sm11458711wif.0.2014.04.24.09.01.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Apr 2014 09:01:23 -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: [RESEND PATCH v5 3/5] ARM: Conceal DEBUG_LL_UART_NONE from unsupported platforms Date: Thu, 24 Apr 2014 17:00:44 +0100 Message-Id: <1398355246-29571-4-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1398355246-29571-1-git-send-email-daniel.thompson@linaro.org> References: <1396886056-18132-1-git-send-email-daniel.thompson@linaro.org> <1398355246-29571-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: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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 4a2fc0b..450e6f7 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