From patchwork Fri Apr 4 14:47:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 27841 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 70ECB20490 for ; Fri, 4 Apr 2014 14:47:47 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id b6sf10478532yha.0 for ; Fri, 04 Apr 2014 07:47:47 -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=l2k/jvzE9jlkgOjdoTT3B5w0X0L77uGO/RDyRUPODKE=; b=CUTFRoABYI3NgtE3GcLkkWj8weIAuw4T3VpeLa7AT8qrluep6KBwBI2GPtTfMD/5lj iv7gthlwc/E9woPmV0ZIdDuR35yexhEn/Sc3dVJJ0SUh+XXuxQdvQw144Fw/76tanwiM 7PdS3+4Dq1sE5oZeJxP6RJECjbmm5D1x1KAJ7IqQLZiUvGPNo5Ur7CKxvFgcQCRfFMvJ +pJ3R+h40zx/WWBIfHAeRf/wwNL/+rzuvfzb90vp+xj3PRN+Ve9HE0efWoTkXxU2cGd5 u6wBiwWbfTQH+b9CcAxNEBRSffTYJWvxbEtOA3ajqfer0rjacjfPvFh4LfgIm1wpoJKV a5yw== X-Gm-Message-State: ALoCoQnOuB09aBF7FGia0PZwT3Fdoj/SXXldbLA6ACXMxavZyck1R/bOuypRbCgIodg7/HyhvNA0 X-Received: by 10.236.113.43 with SMTP id z31mr7920046yhg.33.1396622867146; Fri, 04 Apr 2014 07:47:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.202 with SMTP id d68ls1029953qgd.44.gmail; Fri, 04 Apr 2014 07:47:47 -0700 (PDT) X-Received: by 10.58.34.67 with SMTP id x3mr339874vei.37.1396622867064; Fri, 04 Apr 2014 07:47:47 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id rx10si1789280vdc.204.2014.04.04.07.47.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 07:47:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 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.169; Received: by mail-vc0-f169.google.com with SMTP id ik5so3301852vcb.28 for ; Fri, 04 Apr 2014 07:47:47 -0700 (PDT) X-Received: by 10.220.147.16 with SMTP id j16mr8719314vcv.14.1396622866979; Fri, 04 Apr 2014 07:47:46 -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 v8csp119930vcv; Fri, 4 Apr 2014 07:47:45 -0700 (PDT) X-Received: by 10.194.5.5 with SMTP id o5mr20746214wjo.16.1396622865105; Fri, 04 Apr 2014 07:47:45 -0700 (PDT) Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by mx.google.com with ESMTPS id dc3si1025665wib.49.2014.04.04.07.47.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 07:47:45 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.169 is neither permitted nor denied by best guess record for domain of daniel.thompson@linaro.org) client-ip=74.125.82.169; Received: by mail-we0-f169.google.com with SMTP id w62so3605839wes.0 for ; Fri, 04 Apr 2014 07:47:44 -0700 (PDT) X-Received: by 10.180.85.134 with SMTP id h6mr5237866wiz.44.1396622864645; Fri, 04 Apr 2014 07:47:44 -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 pm2sm3925320wic.0.2014.04.04.07.47.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Apr 2014 07:47:43 -0700 (PDT) From: Daniel Thompson To: Russell King Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, Daniel Thompson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Arnd Bergmann , Paul Bolle Subject: [PATCH v2] arm: Fix DEBUG_LL for multi-platform kernels (without PL01X) Date: Fri, 4 Apr 2014 15:47:27 +0100 Message-Id: <1396622847-12718-1-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1396610269-11580-1-git-send-email-daniel.thompson@linaro.org> References: <1396610269-11580-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.169 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: 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. This happens because DEBUG_UART_PL01X, which is intended to provide some kind of compatibility with single platform builds, spuriously depends upon ARCH_SPEAR13XX (and similar SPEAr options). Problem is fixed by removing problematic dependancies. Signed-off-by: Daniel Thompson --- Notes: v2: Remove pointless single platform support (thanks Arnd Bergmann) arch/arm/Kconfig.debug | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 0531da8..e554d35 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -991,9 +991,6 @@ config DEBUG_LL_INCLUDE config DEBUG_UART_PL01X def_bool ARCH_EP93XX || \ ARCH_INTEGRATOR || \ - ARCH_SPEAR3XX || \ - ARCH_SPEAR6XX || \ - ARCH_SPEAR13XX || \ ARCH_VERSATILE # Compatibility options for 8250