lkml.org 
[lkml]   [2017]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Make AMBA a menuconfig to ease disabling it all
Date
No need to get into the submenu to disable all AMBA-related config entries

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
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
\
 
 \ /
  Last update: 2017-04-14 13:40    [W:0.070 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site