Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752356AbdDNLjp (ORCPT ); Fri, 14 Apr 2017 07:39:45 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34813 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784AbdDNLjn (ORCPT ); Fri, 14 Apr 2017 07:39:43 -0400 From: Vincent Legoll To: linux-kernel@vger.kernel.org, linux@armlinux.org.uk Cc: Vincent Legoll Subject: [PATCH] Make AMBA a menuconfig to ease disabling it all Date: Fri, 14 Apr 2017 13:39:32 +0200 Message-Id: <20170414113932.9552-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 748 Lines: 31 No need to get into the submenu to disable all AMBA-related config entries Signed-off-by: Vincent Legoll --- drivers/amba/Kconfig | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/amba/Kconfig b/drivers/amba/Kconfig index 294ba6f..3f8fcb8 100644 --- a/drivers/amba/Kconfig +++ b/drivers/amba/Kconfig @@ -1,14 +1,8 @@ -config ARM_AMBA - bool - -if ARM_AMBA - -config TEGRA_AHB - bool +menuconfig TEGRA_AHB + bool "NVIDIA Tegra AHB" + depends on ARCH_TEGRA default y if ARCH_TEGRA help Adds AHB configuration functionality for NVIDIA Tegra SoCs, which controls AHB bus master arbitration and some performance parameters (priority, prefetch size). - -endif -- 2.9.3