From patchwork Fri Oct 24 10:54:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 39436 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 62E7424026 for ; Fri, 24 Oct 2014 11:00:34 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id c13sf24234eek.0 for ; Fri, 24 Oct 2014 04:00:33 -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=eg/u7QF4yEQQjnNwsOuN5Sr+tCLQDJU4QM/FoDcv3Fc=; b=fdbWrIxM1aRYA7RMfIZIGkd1L961V9w81TRS41TMV9867M9f9Zb6h5BFCMUwlKTLI7 AiLTnG17gXLLcPhfJLujm7eFi/P97u9nrllEtsKvQbEXNyTKPSFCfE12sl/nKtvP7/Rk lwIvrgIYwD9I6VQxxFMWJZvlXBt/NU63TMoTdJxV2s3G4p5qCKojg8+iteQfvMVoiRnR qsi2c1FiJj3G+f0yR9B2HfVLGNtnTjdJM8RfIgxXmmWvBu7q9oZ6czPwkvg8uGEHXJjg 6IkvyUe+1NRZo0WUB3MIowi7DhlhtM0iKjCF9Dodes0HamZhleV222bumbVlqAIY5Y8L 46CQ== X-Gm-Message-State: ALoCoQnyHPuoQKmXnsO1jTwwBpw3KRfRkWj33MB4H92OhLsHRqGzM36gOsBGikr02LUK79pZtC0P X-Received: by 10.180.19.198 with SMTP id h6mr686921wie.5.1414148433530; Fri, 24 Oct 2014 04:00:33 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.7 with SMTP id g7ls431318lag.43.gmail; Fri, 24 Oct 2014 04:00:33 -0700 (PDT) X-Received: by 10.112.28.75 with SMTP id z11mr3518932lbg.49.1414148433310; Fri, 24 Oct 2014 04:00:33 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id qr5si6425444lbb.54.2014.10.24.04.00.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 Oct 2014 04:00:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ge10so2390645lab.24 for ; Fri, 24 Oct 2014 04:00:33 -0700 (PDT) X-Received: by 10.152.29.8 with SMTP id f8mr3670431lah.56.1414148433233; Fri, 24 Oct 2014 04:00:33 -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.112.84.229 with SMTP id c5csp405883lbz; Fri, 24 Oct 2014 04:00:32 -0700 (PDT) X-Received: by 10.194.9.1 with SMTP id v1mr1695460wja.124.1414148432679; Fri, 24 Oct 2014 04:00:32 -0700 (PDT) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com. [209.85.212.177]) by mx.google.com with ESMTPS id a5si4813435wjy.155.2014.10.24.04.00.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 Oct 2014 04:00:32 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.177 as permitted sender) client-ip=209.85.212.177; Received: by mail-wi0-f177.google.com with SMTP id ex7so886151wid.16 for ; Fri, 24 Oct 2014 04:00:32 -0700 (PDT) X-Received: by 10.180.72.243 with SMTP id g19mr3285750wiv.64.1414148428709; Fri, 24 Oct 2014 04:00:28 -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 f7sm1601214wiz.13.2014.10.24.04.00.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Oct 2014 04:00:28 -0700 (PDT) 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 , Srinivas Kandagatla , patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH v12 15/15] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Fri, 24 Oct 2014 11:54:36 +0100 Message-Id: <1414148076-12685-16-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1414148076-12685-1-git-send-email-daniel.thompson@linaro.org> References: <1414148076-12685-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.215.51 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: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , When building a multi_v7_defconfig kernel it is not possible to configure DEBUG_LL to use any serial device except a ARM Primecell PL01X, or more accurately and worse, it is possible to configure a different serial device but KConfig does not honour this request. In fact this also overrides the user selection for some of the single platform kernels, for example I don't think DEBUG_LL can be targeted at ICE or semihosted supervisor for ARCH_VERSATILE. This happens because DEBUG_UART_PL01X is automatically enabled by some architectures and this means user decisions made regarding the DEBUG_LL backend will be overridden. Problem is fixed by removing the automatic enabling of this option. Signed-off-by: Daniel Thompson Acked-by: Arnd Bergmann --- arch/arm/Kconfig.debug | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 3f7ebc8..fc7f8a70 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1161,12 +1161,7 @@ config DEBUG_LL_INCLUDE # Compatibility options for PL01x config DEBUG_UART_PL01X - def_bool ARCH_EP93XX || \ - ARCH_INTEGRATOR || \ - ARCH_SPEAR3XX || \ - ARCH_SPEAR6XX || \ - ARCH_SPEAR13XX || \ - ARCH_VERSATILE + bool # Compatibility options for 8250 config DEBUG_UART_8250