From patchwork Tue Aug 19 14:48:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 35615 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7EE88201EF for ; Tue, 19 Aug 2014 14:49:11 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id v10sf50494495pde.2 for ; Tue, 19 Aug 2014 07:49:06 -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=gN69pOXX5Vh+mYRDdu5254PmSjevGpLL98Pcnxx0IK4=; b=UA4YjY0iJ5cfHi8SaMs7a1jcOOXPe3q/DM3LJUhfTm2/ayjGwzTh4hCjU1fQEWMlk4 FrMCPTMX4uF0zOEoEZUY7XbN0cPcLTwG/8pIsGeqDmnuXod44Xn7al3hG8MPymA/G4vu C8nRl1cO91FgTgdTMXNy5Dbpb+PiwS8tU2kiE4GJOPRXZnzzsPDI31FWehQS86FplEwv PuiBRaMnpX401yf5rke1eiYUg5uHVAJXvtg2VcRA15hF5A8rAa3UdoEPpuOKnWLeQn3/ puWdkfUbMlLEr1trIOvloBiDGc2KaWeB/4YKadu7prhX6uRzJSJMTc0B1aRav/RX9AY+ e0Vg== X-Gm-Message-State: ALoCoQktRPd0mrI41PUFFO5ZwhROBEzcKdW37mrlrjb1fpUUY1zHYQNSl1g1miCvN23nPJzCKfGZ X-Received: by 10.66.248.37 with SMTP id yj5mr22920392pac.16.1408459746533; Tue, 19 Aug 2014 07:49:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.51 with SMTP id t48ls2857975qga.67.gmail; Tue, 19 Aug 2014 07:49:06 -0700 (PDT) X-Received: by 10.52.228.67 with SMTP id sg3mr11139647vdc.6.1408459746282; Tue, 19 Aug 2014 07:49:06 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id br4si8849946vcb.106.2014.08.19.07.49.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 07:49:06 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so7590254vcb.30 for ; Tue, 19 Aug 2014 07:49:06 -0700 (PDT) X-Received: by 10.52.248.232 with SMTP id yp8mr532076vdc.83.1408459746222; Tue, 19 Aug 2014 07:49:06 -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.221.37.5 with SMTP id tc5csp244930vcb; Tue, 19 Aug 2014 07:49:05 -0700 (PDT) X-Received: by 10.180.37.16 with SMTP id u16mr7581170wij.72.1408459744358; Tue, 19 Aug 2014 07:49:04 -0700 (PDT) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx.google.com with ESMTPS id a10si31309135wjb.178.2014.08.19.07.49.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Aug 2014 07:49:04 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.212.174 as permitted sender) client-ip=209.85.212.174; Received: by mail-wi0-f174.google.com with SMTP id d1so5553473wiv.7 for ; Tue, 19 Aug 2014 07:49:03 -0700 (PDT) X-Received: by 10.194.62.67 with SMTP id w3mr50405914wjr.32.1408459743863; Tue, 19 Aug 2014 07:49:03 -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 a11sm50949114wjx.46.2014.08.19.07.49.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Aug 2014 07:49:03 -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 , patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH v8 9/9] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Tue, 19 Aug 2014 15:48:35 +0100 Message-Id: <1408459715-10151-10-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1408459715-10151-1-git-send-email-daniel.thompson@linaro.org> References: <1404127855-30459-1-git-send-email-daniel.thompson@linaro.org> <1408459715-10151-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.220.171 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 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 f92b98f..537dd04 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1127,12 +1127,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