From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753008AbaE0QA7 (ORCPT ); Tue, 27 May 2014 12:00:59 -0400 Received: from mail-wg0-f50.google.com ([74.125.82.50]:48439 "EHLO mail-wg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752914AbaE0QAx (ORCPT ); Tue, 27 May 2014 12:00:53 -0400 From: Daniel Thompson To: Russell King Cc: Daniel Thompson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Arnd Bergmann , Paul Bolle , 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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.9.0