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: 259523 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 19F292C016A for ; Wed, 17 Jul 2013 08:17:36 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933786Ab3GPWRe (ORCPT ); Tue, 16 Jul 2013 18:17:34 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:47799 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933246Ab3GPWRd (ORCPT ); Tue, 16 Jul 2013 18:17:33 -0400 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 Cc: linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, 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 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org 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).