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: 31613 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 233682054B for ; Tue, 10 Jun 2014 09:57:39 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id j17sf20945522oag.8 for ; Tue, 10 Jun 2014 02:57:38 -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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=TO7T2N32PMq7oaB6U8qAvVf44FadH47R6mBxQ4kJv2I=; b=m23oPZByy7Eku5FDxSrfT6GxI+O4tqMkFQOe7N2y3Gt4x3FTJ1ahsJHUiqlaK9aR99 l7R50xTop0eKWU3tjyETCf2B2agJRZyMA6w5oxLCnObE2dZlfaafkHW9SMC66icxwqMu kOgz93uWi5WbDSldVAVnCqVv5w4HXajccazbR5iS2EKjvVMY3h3l8ypE6chxA4dLxQMI 5jH9GUrrcSDSVruaXXS/S61wfPccHMv0c8SaC90VRPDYSvrW6Va+01xzjYhXQfZJrOi7 KYWyhWtuVxRnykIsiqFiOSV+2NN8WStDZApFD3O+MdJsBUQnTRvs5E6qL77JSRwlIucc C6/A== X-Gm-Message-State: ALoCoQm1WPHcchJZ6zRUsKm92VrCxUmLuNJy3AAJtewuPgXbqgdeE9zKoeUsa9xX597kFhTn7JV5 X-Received: by 10.182.87.3 with SMTP id t3mr1247249obz.20.1402394258713; Tue, 10 Jun 2014 02:57:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.232 with SMTP id i95ls2103608qge.7.gmail; Tue, 10 Jun 2014 02:57:38 -0700 (PDT) X-Received: by 10.58.28.205 with SMTP id d13mr662598veh.55.1402394258563; Tue, 10 Jun 2014 02:57:38 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id xk1si12872411vdc.56.2014.06.10.02.57.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 02:57:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id ij19so3891680vcb.37 for ; Tue, 10 Jun 2014 02:57:38 -0700 (PDT) X-Received: by 10.52.12.229 with SMTP id b5mr26348123vdc.52.1402394258442; Tue, 10 Jun 2014 02:57:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp212548vcb; Tue, 10 Jun 2014 02:57:38 -0700 (PDT) X-Received: by 10.68.135.195 with SMTP id pu3mr33258940pbb.10.1402394257694; Tue, 10 Jun 2014 02:57:37 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gi3si2331988pac.49.2014.06.10.02.57.37; Tue, 10 Jun 2014 02:57:37 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752007AbaFJJ52 (ORCPT + 27 others); Tue, 10 Jun 2014 05:57:28 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:59184 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751383AbaFJJ50 (ORCPT ); Tue, 10 Jun 2014 05:57:26 -0400 Received: by mail-wi0-f169.google.com with SMTP id hi2so3326547wib.4 for ; Tue, 10 Jun 2014 02:57:24 -0700 (PDT) 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 Cc: linux-kernel@vger.kernel.org, Srinivas Kandagatla 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@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.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 || \