From patchwork Mon Jun 30 11:30:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 32698 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 035E5203F4 for ; Mon, 30 Jun 2014 11:31:38 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id eb12sf52498400oac.11 for ; Mon, 30 Jun 2014 04:31:38 -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=cMWQ62W2PPcnBAPk89L1otV7APukbpsQ4A+StDJEgho=; b=DFTFIonkehAEKwgn7DF46cmNTxFoavevBShXPIx8OYelB/zIq2NNbcc7SHP9caPzWc uhkdOkW7IFd3/M1S0xxDD79k/kbSWFSXOuWBbnFqJNCkogDcRwj14+JL88iefZvu3qFZ xYaxWp8ZxCVnPrTTsyOgwRdhMD9GWpNqG8erEfkxngvhTk88W9H6jb642kI2P4ISCEFd 9mF+nLFezMUJbipPgOBOpqsmsWZpzGhhOCO03SQRZnyp3qUld37xQvCR7lKh0GqI5pk5 hNeKnuNrDAMqACub8lAsm2VbEL4uVp/MssikziBHoO+PVfdJltnj9BGri4u2kzROn9J7 L0sA== X-Gm-Message-State: ALoCoQmLnZFBv/OTYOR336Z6Obsghr3famzd/iqVdIpigfTlgBUh3HAYBguXCOeBEMgH7mH0OLCO X-Received: by 10.182.34.200 with SMTP id b8mr21468882obj.48.1404127898565; Mon, 30 Jun 2014 04:31:38 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.114 with SMTP id s105ls1385543qgs.64.gmail; Mon, 30 Jun 2014 04:31:38 -0700 (PDT) X-Received: by 10.58.208.170 with SMTP id mf10mr19870989vec.22.1404127898496; Mon, 30 Jun 2014 04:31:38 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id wm5si1063482vdb.83.2014.06.30.04.31.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Jun 2014 04:31:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.176 as permitted sender) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id db12so7933091veb.21 for ; Mon, 30 Jun 2014 04:31:38 -0700 (PDT) X-Received: by 10.52.241.76 with SMTP id wg12mr31394381vdc.5.1404127898410; Mon, 30 Jun 2014 04:31:38 -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 tc5csp129285vcb; Mon, 30 Jun 2014 04:31:38 -0700 (PDT) X-Received: by 10.194.62.110 with SMTP id x14mr43703966wjr.15.1404127897612; Mon, 30 Jun 2014 04:31:37 -0700 (PDT) Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by mx.google.com with ESMTPS id ja10si9787834wic.105.2014.06.30.04.31.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Jun 2014 04:31:37 -0700 (PDT) Received-SPF: pass (google.com: domain of daniel.thompson@linaro.org designates 74.125.82.177 as permitted sender) client-ip=74.125.82.177; Received: by mail-we0-f177.google.com with SMTP id u56so7905902wes.36 for ; Mon, 30 Jun 2014 04:31:37 -0700 (PDT) X-Received: by 10.194.86.42 with SMTP id m10mr2020752wjz.132.1404127897221; Mon, 30 Jun 2014 04:31:37 -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 i6sm30427501wiy.17.2014.06.30.04.31.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jun 2014 04:31:36 -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 v7 4/4] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Mon, 30 Jun 2014 12:30:55 +0100 Message-Id: <1404127855-30459-5-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1404127855-30459-1-git-send-email-daniel.thompson@linaro.org> References: <1401206421-29832-1-git-send-email-daniel.thompson@linaro.org> <1404127855-30459-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.128.176 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 --- 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 459c7f9..26536f7 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1032,12 +1032,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