From patchwork Thu Apr 24 16:00:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 4052461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2E8449F387 for ; Thu, 24 Apr 2014 16:04:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 507292034F for ; Thu, 24 Apr 2014 16:04:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 712752034E for ; Thu, 24 Apr 2014 16:04:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdM6V-0008Qx-Nb; Thu, 24 Apr 2014 16:02:27 +0000 Received: from mail-wi0-f169.google.com ([209.85.212.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdM5s-00083G-FI for linux-arm-kernel@lists.infradead.org; Thu, 24 Apr 2014 16:01:49 +0000 Received: by mail-wi0-f169.google.com with SMTP id hm4so1443006wib.4 for ; Thu, 24 Apr 2014 09:01:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=siW59M/pwV4puakCU+tsPSwYAe2FqjIZ5LYmqvGd0I0=; b=LLP7i/mxh8T3vSC+dMK3m63zIA2sQPnNOZhdYLq3ok9S9l9f+uutqgSIENLu7QOc6Y ZCb500DgbfktnVnH+2bzhjiDxiXBzj1URr75HzMKPRqKFhOQjIggp6mUAbb2PBb+8t1o 9mZdQKUlSPw1wYACbRKISUQJPQXQHhOBL+YimFi101gzVMRu4Gz+LGdaMBo/svC20WF9 Nxy7XWtxjV2JQcCs1zs2/vzb+9jmk6VVlmWVfEKf4acG5TfbaPlh5mDneD1rZViaQ1ZO RxzNniM1GNXemoh7nKWmFuKuVbj79hl1aagFKou5F1TdzU1T/SGCSs95GSOTdC/uUblz FJSA== X-Gm-Message-State: ALoCoQkaOyn3vZc7KP1truESvapLnrkRGg275imnETDRk/Im+fTNjHSsuGQJAv8NmOBsCgsGAq0R X-Received: by 10.194.60.4 with SMTP id d4mr2506296wjr.28.1398355286454; Thu, 24 Apr 2014 09:01:26 -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 v6sm11458711wif.0.2014.04.24.09.01.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Apr 2014 09:01:25 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [RESEND PATCH v5 4/5] arm: Seperate DEBUG_UART_PHYS from DEBUG_LL on EP93XX Date: Thu, 24 Apr 2014 17:00:45 +0100 Message-Id: <1398355246-29571-5-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1398355246-29571-1-git-send-email-daniel.thompson@linaro.org> References: <1396886056-18132-1-git-send-email-daniel.thompson@linaro.org> <1398355246-29571-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140424_090148_677068_762FD7C2 X-CRM114-Status: GOOD ( 11.15 ) X-Spam-Score: -0.7 (/) Cc: Daniel Thompson , linaro-kernel@lists.linaro.org, Arnd Bergmann , patches@linaro.org, spear-devel@list.st.com, linux-kernel@vger.kernel.org, Paul Bolle , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On EP93XX uncompress.h uses CONFIG_DEBUG_UART_PHYS instead of a hard coded serial port. This means the build breaks when DEBUG_LL (and DEBUG_LL_UART_PL01X) is not enabled. This is fixed by adding a new dependancy. Signed-off-by: Daniel Thompson --- Notes: Having ARCH_EP93XX on its own here looks somewhat anomalous but I have searched for other users of CONFIG_DEBUG_UART_PHYS/VIRT (outside of DEBUG_LL) but I think the EP93XX really is unique here. arch/arm/Kconfig.debug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 450e6f7..2612dd0 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1069,7 +1069,8 @@ config DEBUG_UART_PHYS default 0xfffff700 if ARCH_IOP33X depends on DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ DEBUG_LL_UART_EFM32 || \ - DEBUG_UART_8250 || DEBUG_UART_PL01X + DEBUG_UART_8250 || DEBUG_UART_PL01X || \ + ARCH_EP93XX config DEBUG_UART_VIRT hex "Virtual base address of debug UART"