From patchwork Mon Jul 15 14:15:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 2827530 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DFE5CC0AB2 for ; Mon, 15 Jul 2013 14:16:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BAEBE201D5 for ; Mon, 15 Jul 2013 14:16:57 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7EE7D201B2 for ; Mon, 15 Jul 2013 14:16:56 +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 1Uyja7-0001fR-Vq; Mon, 15 Jul 2013 14:16:52 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uyja5-0005VI-Lw; Mon, 15 Jul 2013 14:16:49 +0000 Received: from mail-wi0-f181.google.com ([209.85.212.181]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uyja1-0005U3-OT for linux-arm-kernel@lists.infradead.org; Mon, 15 Jul 2013 14:16:46 +0000 Received: by mail-wi0-f181.google.com with SMTP id hq4so2917521wib.8 for ; Mon, 15 Jul 2013 07:16:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=DDNY43DcHoYvBIobE5fOLH0pO1yP1k1krMUhCM01bQw=; b=ENfnWx4YbPZIYUW8Pl3CnrIUdyB439Ry3lQBfUA5AnWnTqwL2fCTxdh7Nbsg1AfLXn Hpyft5qWbJVRAwBHX7Xq2/6YYvHzlPZVRwYDpM/hgKnYH+96D6EVGkHABaetMs1GWznG 97tkOxTwSiXD2Xfj+DtegH3ZBpBd4Jist3U3WQhtSWoYg/SdyeH3u4wV9BZlJe9biuav Ism7Fun9aBsq6HNlMgDIFgEz2gv4O97RX0zHBtp6WNJMzBG0DoGL8v5m4tKNWVqoxt8s 87gipmACQ6CEsaOxI6lL3q0cmbGC4NYArj5QDB7SWKFdTmGTkDqNQQgF9b1JfKTu01w1 PukA== X-Received: by 10.194.179.129 with SMTP id dg1mr32736623wjc.38.1373897783135; Mon, 15 Jul 2013 07:16:23 -0700 (PDT) Received: from belegaer.uk.xensource.com. (firewall.ctxuk.citrix.com. [46.33.159.2]) by mx.google.com with ESMTPSA id u9sm21223783wif.6.2013.07.15.07.16.21 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Jul 2013 07:16:22 -0700 (PDT) From: Julien Grall To: linux@arm.linux.org.uk, stefano.stabellini@eu.citrix.com Subject: [PATCH] arm: choose debug/uncompress.h include when uncompress debug is disabled Date: Mon, 15 Jul 2013 15:15:06 +0100 Message-Id: <1373897706-15331-1-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQmJQ7SMMRMgTdPuevWHQjHLhhFikzRo9ODRylQh5eeDepGTd3AmNfnVrz5EkaW1vqu6fBAG X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130715_101645_885763_2467C9EC X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: linux-kernel@vger.kernel.org, Julien Grall , Ian.Campbell@citrix.com, linux-arm-kernel@lists.infradead.org, patches@linaro.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.6 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 Even if uncompress debug is disabled, some board will continue to print information during uncompress step. By using debug/uncompress.h include, all debug output will be disabled. This is usefull in Xen environment for DOM0 because the UART is stolen by Xen. Signed-off-by: Julien Grall --- arch/arm/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 21cc8a7..86c023d 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -679,7 +679,7 @@ config DEBUG_UNCOMPRESS config UNCOMPRESS_INCLUDE string - default "debug/uncompress.h" if ARCH_MULTIPLATFORM + default "debug/uncompress.h" if ARCH_MULTIPLATFORM || !DEBUG_UNCOMPRESS default "mach/uncompress.h" config EARLY_PRINTK