Skip to content

Commit bd968d5

Browse files
committed
ARM: tegra: Move AHB Kconfig to drivers/amba
This will allow the Kconfig option to be shared among 32-bit and 64-bit ARM. Signed-off-by: Thierry Reding <[email protected]>
1 parent d075f4a commit bd968d5

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

arch/arm/mach-tegra/Kconfig

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ menuconfig ARCH_TEGRA
22
bool "NVIDIA Tegra" if ARCH_MULTI_V7
33
select ARCH_REQUIRE_GPIOLIB
44
select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
5+
select ARM_AMBA
56
select ARM_GIC
67
select CLKSRC_MMIO
78
select HAVE_ARM_SCU if SMP
@@ -59,12 +60,4 @@ config ARCH_TEGRA_124_SOC
5960
Support for NVIDIA Tegra T124 processor family, based on the
6061
ARM CortexA15MP CPU
6162

62-
config TEGRA_AHB
63-
bool "Enable AHB driver for NVIDIA Tegra SoCs"
64-
default y
65-
help
66-
Adds AHB configuration functionality for NVIDIA Tegra SoCs,
67-
which controls AHB bus master arbitration and some
68-
performance parameters(priority, prefech size).
69-
7063
endif

drivers/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
menu "Device Drivers"
22

3+
source "drivers/amba/Kconfig"
4+
35
source "drivers/base/Kconfig"
46

57
source "drivers/bus/Kconfig"

drivers/amba/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
11
config ARM_AMBA
22
bool
3+
4+
if ARM_AMBA
5+
6+
config TEGRA_AHB
7+
bool "Enable AHB driver for NVIDIA Tegra SoCs"
8+
default y if ARCH_TEGRA
9+
help
10+
Adds AHB configuration functionality for NVIDIA Tegra SoCs,
11+
which controls AHB bus master arbitration and some performance
12+
parameters (priority, prefetch size).
13+
14+
endif

0 commit comments

Comments
 (0)