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: 3946261 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 5A143BFF02 for ; Mon, 7 Apr 2014 15:57:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9178E20225 for ; Mon, 7 Apr 2014 15:57:28 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 A88DC20221 for ; Mon, 7 Apr 2014 15:57:27 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXBtu-0000E7-Dy; Mon, 07 Apr 2014 15:55:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXBte-0002si-TH; Mon, 07 Apr 2014 15:55:43 +0000 Received: from mail-wi0-f181.google.com ([209.85.212.181]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXBt5-0002mk-CN for linux-arm-kernel@lists.infradead.org; Mon, 07 Apr 2014 15:55:09 +0000 Received: by mail-wi0-f181.google.com with SMTP id hm4so5323533wib.8 for ; Mon, 07 Apr 2014 08:54:45 -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=qsXuTYbe6FTXetVZBw7ApHGybS9h3ipgZ6uLF+2xlMg=; b=ZHeDhgjiWMwu6KaxY2UdrLiCDpwhuUQshPBOGain2MMJMUU0ODpHxe6NMf7CUbTThU FPTL7UCHWuCxah06ltWnfgZpMaUvSQ8LoO9iuc5dhk/Zhe8V67O9GZe0YqfTTlFJPFrU dzlxtTXpDNQuIz3FJsKuCF1rFIpxSjlpYPOYQAGDE5fpDYvNoK6NAK5xnEnfet1bjlte sxAZDvJBsVMtTZmEpMplWlksQzKUYwDI1XR9OPL91Id3sueHVWpRhQ0Th2KP80eA9B+T aEZoFhPc09p18pjN5GTIHq5gyZCQCJpprhTjbUm6hs9Ye4zcKt+4hjXO5zEf9zRpWm3p oS4Q== X-Gm-Message-State: ALoCoQmIE6pTCD8wJDTfa1FQP+Xhq5BSM7sqDelHsqbyu3vjZaYCf+L/kAMD+yNp8Smtv65+/rLh 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140407_115507_602038_F8CD500E X-CRM114-Status: GOOD ( 10.38 ) X-Spam-Score: -2.6 (--) 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=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 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