From patchwork Tue Jul 16 22:17:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Warren X-Patchwork-Id: 2828335 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 ED4C1C0AB2 for ; Tue, 16 Jul 2013 22:18:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 180C920265 for ; Tue, 16 Jul 2013 22:18:51 +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 1E8FF2025D for ; Tue, 16 Jul 2013 22:18:50 +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 1UzDZW-0001tp-An; Tue, 16 Jul 2013 22:18:14 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UzDZM-0001e8-7m; Tue, 16 Jul 2013 22:18:04 +0000 Received: from avon.wwwdotorg.org ([2001:470:1f0f:bd7::2]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UzDZ9-0001bc-I0 for linux-arm-kernel@lists.infradead.org; Tue, 16 Jul 2013 22:17:52 +0000 Received: from severn.wwwdotorg.org (unknown [192.168.65.5]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by avon.wwwdotorg.org (Postfix) with ESMTPS id 15F2F644D; Tue, 16 Jul 2013 16:29:52 -0600 (MDT) Received: from swarren-lx1.nvidia.com (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by severn.wwwdotorg.org (Postfix) with ESMTPSA id 5ACA3E40EB; Tue, 16 Jul 2013 16:17:32 -0600 (MDT) From: Stephen Warren To: Stephen Warren Subject: [PATCH 4/4] ARM: tegra: move config TEGRA_AHB Date: Tue, 16 Jul 2013 16:17:23 -0600 Message-Id: <1374013043-4693-4-git-send-email-swarren@wwwdotorg.org> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1374013043-4693-1-git-send-email-swarren@wwwdotorg.org> References: <1374013043-4693-1-git-send-email-swarren@wwwdotorg.org> X-NVConfidentiality: public X-Virus-Scanned: clamav-milter 0.97.7 at avon.wwwdotorg.org X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130716_181751_767148_4CE861AC X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -2.3 (--) Cc: linux-tegra@vger.kernel.org, Stephen Warren , 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.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 From: Stephen Warren The Tegra AHB driver is located in drivers/amba. Move the Kconfig option that enables it to the Kconfig file in that directory. This completely decouples it from arch/arm/mach-tegra. Signed-off-by: Stephen Warren --- arch/arm/mach-tegra/Kconfig | 8 -------- drivers/Kconfig | 2 ++ drivers/amba/Kconfig | 8 ++++++++ 3 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 drivers/amba/Kconfig diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 9a4ec62..94713e4 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -57,14 +57,6 @@ config TEGRA_PCI depends on ARCH_TEGRA select PCI -config TEGRA_AHB - bool "Enable AHB driver for NVIDIA Tegra SoCs" - default y - help - Adds AHB configuration functionality for NVIDIA Tegra SoCs, - which controls AHB bus master arbitration and some - performance parameters(priority, prefech size). - config TEGRA_EMC_SCALING_ENABLE bool "Enable scaling the memory frequency" diff --git a/drivers/Kconfig b/drivers/Kconfig index aa43b91..5603bc3 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -166,4 +166,6 @@ source "drivers/reset/Kconfig" source "drivers/fmc/Kconfig" +source "drivers/amba/Kconfig" + endmenu diff --git a/drivers/amba/Kconfig b/drivers/amba/Kconfig new file mode 100644 index 0000000..9244e48 --- /dev/null +++ b/drivers/amba/Kconfig @@ -0,0 +1,8 @@ +config TEGRA_AHB + bool "AHB driver for NVIDIA Tegra SoCs" + depends on ARCH_TEGRA + default y + help + Adds AHB configuration functionality for NVIDIA Tegra SoCs, + which controls AHB bus master arbitration and some + performance parameters (priority, prefetch size).