From patchwork Tue Sep 16 22:46:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4921541 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 179969F32F for ; Tue, 16 Sep 2014 22:48:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78DA52011E for ; Tue, 16 Sep 2014 22:50:40 +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 94F97200F3 for ; Tue, 16 Sep 2014 22:50:39 +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 1XU1YI-00019Q-5I; Tue, 16 Sep 2014 22:48:50 +0000 Received: from mail-pa0-f47.google.com ([209.85.220.47]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XU1X8-0007nc-Md for linux-arm-kernel@lists.infradead.org; Tue, 16 Sep 2014 22:47:39 +0000 Received: by mail-pa0-f47.google.com with SMTP id ey11so715750pad.34 for ; Tue, 16 Sep 2014 15:47:18 -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:in-reply-to :references; bh=xLbK280VGNgX6XleDg3vtKwF60wb/Mb5UtT9VoAxukg=; b=LxLReEC3um0hDAc1+LlxgpNaunE/73/oxd3K0BB5p4UV8ZnHp1+Be2TRKTEqBdRZIs 11tGePXhy2728QM9QRNT+OLJjPyKOOzy0Z1mzN6YxPrzbRosP7FN/2Q62aEyYsT1djq/ 4pOgiTrZzrnQFpDXQD96QpXrru8ulZgi9dqKtsgJu3YEiv5+BVgi2j3a/L9D/jxeFJVV KltVn2j/U8FWoQwlPqvmbE7X1i0mozcCO085kGnFq8JHlCKWllV63blNd2WFg21rgxDR lEmiVi1IZdqYF7Z0XMmSLe7AJixkpoq4/f6FT+yrZj97ApS5U38SGQGrqiNkjP54es3C 9uVA== X-Gm-Message-State: ALoCoQkp+d7ihhot5Fq69FVr2KHq87Wu+XFBtsrKr69qtg9L4UpAidjoSw3EEeg9HD2IV8YDx9nX X-Received: by 10.66.66.101 with SMTP id e5mr54918518pat.100.1410907638334; Tue, 16 Sep 2014 15:47:18 -0700 (PDT) Received: from harvey.bri.st.com.com (70-35-38-154.static.wiline.com. [70.35.38.154]) by mx.google.com with ESMTPSA id hz4sm15089762pbc.22.2014.09.16.15.47.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Sep 2014 15:47:17 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH v10 9/9] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Tue, 16 Sep 2014 23:46:28 +0100 Message-Id: <1410907588-19957-10-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410907588-19957-1-git-send-email-daniel.thompson@linaro.org> References: <1410907588-19957-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140916_154738_805046_0FF528FE X-CRM114-Status: GOOD ( 13.12 ) X-Spam-Score: -1.1 (-) Cc: Paul Bolle , linaro-kernel@lists.linaro.org, Arnd Bergmann , patches@linaro.org, spear-devel@list.st.com, Daniel Thompson , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 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 targetted 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 overriden. 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 ed7da37..b6ec25a 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1126,12 +1126,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