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: 4052441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 39475BFF02 for ; Thu, 24 Apr 2014 16:04:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 79A692034E for ; Thu, 24 Apr 2014 16:04:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A435420304 for ; Thu, 24 Apr 2014 16:04:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdM6K-0008KI-0R; Thu, 24 Apr 2014 16:02:16 +0000 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdM5r-00083F-Jc for linux-arm-kernel@lists.infradead.org; Thu, 24 Apr 2014 16:01:49 +0000 Received: by mail-wi0-f178.google.com with SMTP id bs8so1319067wib.11 for ; Thu, 24 Apr 2014 09:01:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=a0bORWbwt+Aao1vAjga3rIOX/Yrl46hMspJZ+s0ofkU=; b=iFnnf5vHruDFkrwRedT5bvY1HkL10eDMUcl3WaOfOgxgzvdAtzOEwwIF/rplbO3v0E pSP8caRd9FRCxcDS1Qt95UDt4FXCKH4se7paz0XrMZCPv1ypCdLpBNk/2bdQmpjd85l+ qAvbpdnNp+nhrZZ5pK3vkGxxGb3qOiIoaky+Hhukao63BK9pAMCHaEalDha35RuVp0Ji VUYznGt+LbsEzf7MIMhk26vGIbiQYXZSbvpazwwIJe2iCWyyxKCtwpE5/SiroRmLWCuQ Rmv7CSLgxSwX+/X58bLSJJ/zfPUbf7v0MbwSpQb7AMK0JDRdXta8uIar3wgJjtfggDJ/ ePyw== X-Gm-Message-State: ALoCoQllhDYC6nuvSOaExYJVYy22MV6gGv6azBQbXY+/WbvQGLAz4Hl9swVwqJllZOtRXcs7JdZg 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140424_090147_792154_59137D62 X-CRM114-Status: GOOD ( 11.17 ) X-Spam-Score: -0.7 (/) Cc: Daniel Thompson , linaro-kernel@lists.linaro.org, Arnd Bergmann , patches@linaro.org, spear-devel@list.st.com, linux-kernel@vger.kernel.org, Paul Bolle , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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