Message ID | 1396886056-18132-6-git-send-email-daniel.thompson@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCAPDLF44QLBBSUURONAKGQEE7LPVAQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8C23720553 for <linaro@patches.linaro.org>; Mon, 7 Apr 2014 15:54:50 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id hw13sf14413390qab.3 for <linaro@patches.linaro.org>; Mon, 07 Apr 2014 08:54:50 -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=iHnvHqrRoYBilBgFLmuFa6O8SSy7NeAhH1W2QjR2uxo=; b=Z0ukfCJ6X37w6KmuJIXkQfxXIGhPnVK/g86UaK9njWP1xFBt23ecy8Hx7Apy9+u1G6 wa/r/h1DUaCqCBe/LpR8aDZrqIzcvSPxXE4/zGTr2UN3JDvPWexmJYVkNbfORDlUUYba scWR0ognPSwI+Q9o4jjJFICBLoGYdbZx3fAchWPiaMbwdFbdSZtugJpB9Z1LHHWHrQn+ EI2D8VXLsL8SWQq9TZf9BCqeFLDpBA9iZNb24HGrjPBLJCS4m+cVI2ZM4WSqkp5saVmn 51ebKtweEjkJefs9uzu+Ttyhzyu+H1CPaLT1NFpgmvvOkJ1tfJylsmaUwUdKgdAujNtM qZkg== X-Gm-Message-State: ALoCoQklzX7nwmqcSVBEEk5cOs4fX2S6nn+f8rfdtwKA1h8SpZXrU5cOYHRV2nuNK/hFLarswXhr X-Received: by 10.58.112.97 with SMTP id ip1mr12670641veb.32.1396886090373; Mon, 07 Apr 2014 08:54:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.177 with SMTP id t46ls1743325qgt.16.gmail; Mon, 07 Apr 2014 08:54:50 -0700 (PDT) X-Received: by 10.220.11.208 with SMTP id u16mr13131458vcu.19.1396886090208; Mon, 07 Apr 2014 08:54:50 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id o6si3193908vcz.184.2014.04.07.08.54.50 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Apr 2014 08:54:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hu19so5561165vcb.15 for <patchwork-forward@linaro.org>; Mon, 07 Apr 2014 08:54:50 -0700 (PDT) X-Received: by 10.52.95.135 with SMTP id dk7mr1254948vdb.32.1396886090143; Mon, 07 Apr 2014 08:54:50 -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.220.12.8 with SMTP id v8csp173426vcv; Mon, 7 Apr 2014 08:54:49 -0700 (PDT) X-Received: by 10.194.133.1 with SMTP id oy1mr2523972wjb.87.1396886089311; Mon, 07 Apr 2014 08:54:49 -0700 (PDT) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx.google.com with ESMTPS id ma8si6397249wjb.226.2014.04.07.08.54.48 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Apr 2014 08:54:49 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.49 is neither permitted nor denied by best guess record for domain of daniel.thompson@linaro.org) client-ip=74.125.82.49; Received: by mail-wg0-f49.google.com with SMTP id a1so6977750wgh.8 for <patches@linaro.org>; Mon, 07 Apr 2014 08:54:48 -0700 (PDT) X-Received: by 10.180.97.37 with SMTP id dx5mr25954187wib.53.1396886088912; Mon, 07 Apr 2014 08:54:48 -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 xs1sm27074979wjb.27.2014.04.07.08.54.47 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Apr 2014 08:54:48 -0700 (PDT) From: Daniel Thompson <daniel.thompson@linaro.org> To: Russell King <linux@arm.linux.org.uk> Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, Daniel Thompson <daniel.thompson@linaro.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Arnd Bergmann <arnd@arndb.de>, Paul Bolle <pebolle@tiscali.nl> Subject: [PATCH v4 5/5] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Mon, 7 Apr 2014 16:54:16 +0100 Message-Id: <1396886056-18132-6-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1396886056-18132-1-git-send-email-daniel.thompson@linaro.org> References: <1396626102-13991-1-git-send-email-daniel.thompson@linaro.org> <1396886056-18132-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=neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 50fdc86..0a4ebf0 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1000,12 +1000,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
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 <daniel.thompson@linaro.org> --- arch/arm/Kconfig.debug | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)