Message ID | 1401206421-29832-4-git-send-email-daniel.thompson@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCAPDLF44QLBBNXNSKOAKGQEO3YZZ2I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f72.google.com (mail-pb0-f72.google.com [209.85.160.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 016DC2066E for <linaro@patches.linaro.org>; Tue, 27 May 2014 16:00:54 +0000 (UTC) Received: by mail-pb0-f72.google.com with SMTP id ma3sf44976976pbc.11 for <linaro@patches.linaro.org>; Tue, 27 May 2014 09:00:54 -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=K7nEIfGvl77Nd4UO3CP06r+lBi3GMZ5Hdn/Nv3iB+as=; b=ChVqdfXtidBUge5hxHjBbKMiN4MROb4tovSEBSLvvT0OZefaot1m7YF0faNxYRfWJ+ R1O4uOa+na0adCjM4qlRWI0PxKPiP4k2TUlnYXH1KWhT1T10CI+hbZfBe44K51sXtCYa HQmnbEzmdWhqk8JkI8hGzrUjJZJTavVcXZLERsTTM6xF8iVZqwqLea9UdFYLxueqNO1d 8z+goyBaCPkikvQ6vAFaZwFjYBGng9Zgb28vQr3nx9jeEc23K5TWselIxNQLM2Xz1Ai4 lEqIK+94+ghKGyx+iqxE+z94tgHqEHSq3Kr974YKtt1kTKfiQAKqtyEPht8tN4LtaBun KoEA== X-Gm-Message-State: ALoCoQlb4qwj7LlM/LwaeWWy3T1lxu6yPgCqFLENvNe4Ga5iswoiUwaWjONbomKzC/sNuUHMk/N6 X-Received: by 10.66.138.17 with SMTP id qm17mr13354834pab.34.1401206454166; Tue, 27 May 2014 09:00:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.41.166 with SMTP id z35ls3336630qgz.93.gmail; Tue, 27 May 2014 09:00:54 -0700 (PDT) X-Received: by 10.220.183.4 with SMTP id ce4mr1827111vcb.54.1401206454062; Tue, 27 May 2014 09:00:54 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id dz3si8394526vdc.48.2014.05.27.09.00.54 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 09:00:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so10905434vcb.29 for <patchwork-forward@linaro.org>; Tue, 27 May 2014 09:00:54 -0700 (PDT) X-Received: by 10.58.186.207 with SMTP id fm15mr28243236vec.4.1401206453986; Tue, 27 May 2014 09:00:53 -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 ib8csp130508vcb; Tue, 27 May 2014 09:00:53 -0700 (PDT) X-Received: by 10.180.228.42 with SMTP id sf10mr39604793wic.48.1401206453136; Tue, 27 May 2014 09:00:53 -0700 (PDT) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by mx.google.com with ESMTPS id h8si5241778wjy.132.2014.05.27.09.00.52 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 09:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.171 as permitted sender) client-ip=209.85.212.171; Received: by mail-wi0-f171.google.com with SMTP id cc10so2045481wib.4 for <patches@linaro.org>; Tue, 27 May 2014 09:00:52 -0700 (PDT) X-Received: by 10.194.186.210 with SMTP id fm18mr40740089wjc.67.1401206452479; Tue, 27 May 2014 09:00:52 -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 em5sm9363015wic.23.2014.05.27.09.00.50 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 May 2014 09:00:51 -0700 (PDT) From: Daniel Thompson <daniel.thompson@linaro.org> To: Russell King <linux@arm.linux.org.uk> Cc: Daniel Thompson <daniel.thompson@linaro.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Arnd Bergmann <arnd@arndb.de>, Paul Bolle <pebolle@tiscali.nl>, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH v6 3/5] ARM: Hide DEBUG_LL_UART_NONE from unsupported platforms Date: Tue, 27 May 2014 17:00:19 +0100 Message-Id: <1401206421-29832-4-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1401206421-29832-1-git-send-email-daniel.thompson@linaro.org> References: <1400857819-7975-1-git-send-email-daniel.thompson@linaro.org> <1401206421-29832-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.220.170 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index eab8ecb..33f0b38 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -842,7 +842,7 @@ choice config DEBUG_LL_UART_NONE bool "No low-level debugging UART" - depends on !ARCH_MULTIPLATFORM + depends on ARCH_KS8695 || ARCH_NETX || ARCH_OMAP1 || ARCH_SA1100 help Say Y here if your platform doesn't provide a UART option above. This relies on your platform choosing the right UART
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 limits this choice only to platforms which offer no other means to use DEBUG_LL. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> --- arch/arm/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)