From patchwork Mon Apr 7 15:54:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Thompson X-Patchwork-Id: 3946271 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 C02D59F369 for ; Mon, 7 Apr 2014 15:58:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 080CF20225 for ; Mon, 7 Apr 2014 15:58:13 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (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 1987520221 for ; Mon, 7 Apr 2014 15:58:12 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXBuF-0000LB-QB; Mon, 07 Apr 2014 15:56:20 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXBtn-0002tM-5u; Mon, 07 Apr 2014 15:55:51 +0000 Received: from mail-wi0-f172.google.com ([209.85.212.172]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WXBt7-0002ml-1s for linux-arm-kernel@lists.infradead.org; Mon, 07 Apr 2014 15:55:10 +0000 Received: by mail-wi0-f172.google.com with SMTP id hi2so5352105wib.17 for ; Mon, 07 Apr 2014 08:54: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:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TCPbl7q0sBf5+9Vb69aqTmifM+GE9n02PG07YG/XcvM=; b=HeiUH3JWwzuouSh+dijBP6fU7M8XgT6tW2X1Y3owcJIHRf4dKgKsmGwsMncnJZlDW9 ZHmNDlVx4bnrb9G7+FAMfxaDBtKJ2gJDI9xGKDVSQLBnUfBbOpNsykktVzypAwACbNv/ YN3uXpJ7038Egs48bckEvH8ztv4Q+/Hu6wr2+Ab2W7KuGpF9Jf0TTWy8c8Yp7Zeqztv1 v9ZJOs+l1vb18X8cinqJmev+EfDemt3uO5JYet3Ltfx0w/H+Oz2I0Q8zkQLgBShyB7hE 6xWGDjta6kztAQnDXwh4dkLjs2sXbB5Qv18ouvVbp6jXz+jsM/qj/c4HmQA/4mJRK2Rc SgGQ== X-Gm-Message-State: ALoCoQlqx6Js01isuQIHOghBGN4VpZ0ulu0Fy1Pl96gbh/ETB1h+uzRHmGuGIs0Ph3Nb9U/RPfuQ X-Received: by 10.181.13.82 with SMTP id ew18mr26080174wid.22.1396886087299; Mon, 07 Apr 2014 08:54:47 -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 xs1sm27074979wjb.27.2014.04.07.08.54.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Apr 2014 08:54:46 -0700 (PDT) From: Daniel Thompson To: Russell King Subject: [PATCH v4 4/5] arm: Seperate DEBUG_UART_PHYS from DEBUG_LL on EP93XX Date: Mon, 7 Apr 2014 16:54:15 +0100 Message-Id: <1396886056-18132-5-git-send-email-daniel.thompson@linaro.org> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1396886056-18132-1-git-send-email-daniel.thompson@linaro.org> References: <1396626102-13991-1-git-send-email-daniel.thompson@linaro.org> <1396886056-18132-1-git-send-email-daniel.thompson@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140407_115509_253708_C3E780FE X-CRM114-Status: GOOD ( 12.51 ) X-Spam-Score: -2.6 (--) 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=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 0702d6d..50fdc86 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1073,7 +1073,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"