From patchwork Tue Jun 10 09:57:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 4327391 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 7BDC3BEEAA for ; Tue, 10 Jun 2014 10:00:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 81E1A202AE for ; Tue, 10 Jun 2014 10:00:25 +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 96E0F202B4 for ; Tue, 10 Jun 2014 10:00:20 +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 1WuIoQ-0005cT-LP; Tue, 10 Jun 2014 09:57:50 +0000 Received: from mail-we0-f173.google.com ([74.125.82.173]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WuIoO-0005TU-AW for linux-arm-kernel@lists.infradead.org; Tue, 10 Jun 2014 09:57:48 +0000 Received: by mail-we0-f173.google.com with SMTP id t60so371744wes.32 for ; Tue, 10 Jun 2014 02:57:25 -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; bh=1g0LhOv5zh/PR96UwwshG+W1+c92lgbAfvYdz8ICjxo=; b=LM1hpv6+oQ9h+pOotjnedFxYKudE6Gnn5qe61uK2e/1oGm43dLLzCUhq4r8K5Hjg7T 3Y9WWMe2k9hLVa0Sdqj/qDQXbtLLSVJFp2l9fcl0osropTXpiBwYO5E49iYLTsq1jt/p NGdq15UgAXNAWxCIR/5vGLgZDXw7m8107fnk4gxFM0NH+Q7HPlcY5pKN1LINRc+avlJI +LwMLTZq0HNPk5CVyKYGzkBKd5TyrcaimHgWFWKKMUj2qo7lv4S6ddtuG7BrPJhZeYPr FBUIBJXH1K5lQB9A6OJM6yC4SXXCeTSnWh7LT/rWzmRZWlrw8cQnH2ksxJsDzqiGSxVd j5JQ== X-Gm-Message-State: ALoCoQnaMOcHZvppmmA0h9SSs7r77+rqv++53lZ03zmFZQuEUj0MynzxFmF7/zk2MPguIogP/0qB X-Received: by 10.180.84.7 with SMTP id u7mr27776558wiy.31.1402394244116; Tue, 10 Jun 2014 02:57:24 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-78-144-120-232.as13285.net. [78.144.120.232]) by mx.google.com with ESMTPSA id kr6sm28834392wjb.16.2014.06.10.02.57.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Jun 2014 02:57:23 -0700 (PDT) From: Srinivas Kandagatla To: Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: debug: fix broken DEBUG_LL_INCLUDE for multi platform Date: Tue, 10 Jun 2014 10:57:16 +0100 Message-Id: <1402394236-14778-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140610_025748_508485_BA5C4187 X-CRM114-Status: GOOD ( 10.88 ) X-Spam-Score: -0.7 (/) Cc: Srinivas Kandagatla , linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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 On multi_v7_defconfig using def_bool in Kconfig can override the selection made as part of DEBUG_LL. This is because def_bool will set the config to true if the expression evaluates to true, which is what was happening in multi_v7_defconfig. ARCH_SPEAR13XX selects DEBUG_UART_PL01X overiding any previous DEBUG_LL selections. Making the def_bool to bool and depends made sense in this case, and fixes the issue too. Signed-off-by: Srinivas Kandagatla --- arch/arm/Kconfig.debug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 8f90595..53d653c1 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1021,7 +1021,8 @@ config DEBUG_LL_INCLUDE # Compatibility options for PL01x config DEBUG_UART_PL01X - def_bool ARCH_EP93XX || \ + bool + depends on ARCH_EP93XX || \ ARCH_INTEGRATOR || \ ARCH_SPEAR3XX || \ ARCH_SPEAR6XX || \