From patchwork Tue Sep 16 23:57:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 37492 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 767AD206A5 for ; Tue, 16 Sep 2014 23:58:21 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id x12sf324638wgg.10 for ; Tue, 16 Sep 2014 16:58:20 -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=btVbeFSXjkff9RVtQl0FGXsmxTOAaAIGGmz3J3vaVY4=; b=VsMTr9rZa2rIhCmWTn5JXx+CaxH82xB3jw7H+W3oasqeyyaxNhSoUzRkM32PB8RbF5 hAhFfyTBjQWutC4KvmYYdA8giAV6zkoGtxGzTltKwiGugkF4+EfXww6AVERmjjOjA4/Z CKgp+0P0E7R61i15CCqtMwcjKkNv5snHAhbCoXx3Juig9ri6Xrbftu2E0jdA/vQlzTqs EaAIk8JE3evWZKcZvOmo3YqCmvH1n7j9sPV6xnG6XPkwx+tlxlDNoCziF8qMiSlaDSba rcMxIzhn8A0qe8TxWRSIYky+kG+msGex02smzZfaEGPf/empa6T9HXaoAzmvXLjUCTR5 o8Lg== X-Gm-Message-State: ALoCoQlTP1xZjHjxjA2aNCrzJqS2qdoO5PjE1yIIZAnzhiW1+yYcUhXc+KgJOFvn6+weclrXsPDO X-Received: by 10.112.126.226 with SMTP id nb2mr8893784lbb.3.1410911900718; Tue, 16 Sep 2014 16:58:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.225 with SMTP id ap1ls45519lac.57.gmail; Tue, 16 Sep 2014 16:58:20 -0700 (PDT) X-Received: by 10.152.43.99 with SMTP id v3mr39009354lal.13.1410911900425; Tue, 16 Sep 2014 16:58:20 -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 j6si9276633lam.84.2014.09.16.16.58.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Sep 2014 16:58:20 -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 gi9so829764lab.10 for ; Tue, 16 Sep 2014 16:58:20 -0700 (PDT) X-Received: by 10.152.43.99 with SMTP id v3mr39009348lal.13.1410911900328; Tue, 16 Sep 2014 16:58:20 -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.130.169 with SMTP id of9csp489494lbb; Tue, 16 Sep 2014 16:58:19 -0700 (PDT) X-Received: by 10.68.220.228 with SMTP id pz4mr56338459pbc.16.1410911897863; Tue, 16 Sep 2014 16:58:17 -0700 (PDT) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by mx.google.com with ESMTPS id ki1si32139710pbd.93.2014.09.16.16.58.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Sep 2014 16:58:17 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 209.85.220.46 as permitted sender) client-ip=209.85.220.46; Received: by mail-pa0-f46.google.com with SMTP id kq14so835064pab.5 for ; Tue, 16 Sep 2014 16:58:17 -0700 (PDT) X-Received: by 10.68.216.35 with SMTP id on3mr7076470pbc.34.1410911897165; Tue, 16 Sep 2014 16:58:17 -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 st7sm15682757pab.7.2014.09.16.16.58.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Sep 2014 16:58:16 -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 v11 9/9] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Tue, 16 Sep 2014 16:57:57 -0700 Message-Id: <1410911877-24903-10-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1410911877-24903-1-git-send-email-daniel.thompson@linaro.org> References: <1410911877-24903-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 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 9fa93ea..4fcff77 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