[PATCH] Make AMBA a menuconfig to ease disabling it all
From: Vincent Legoll
Date: Fri Apr 14 2017 - 07:39:54 EST
No need to get into the submenu to disable all AMBA-related config entries
Signed-off-by: Vincent Legoll <vincent.legoll@xxxxxxxxx>
---
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