Skip to content

Commit

Permalink
ARM: tegra: Move AHB Kconfig to drivers/amba
Browse files Browse the repository at this point in the history
This will allow the Kconfig option to be shared among 32-bit and 64-bit
ARM.

Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Thierry Reding committed Nov 26, 2014
1 parent d075f4a commit bd968d5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
9 changes: 1 addition & 8 deletions arch/arm/mach-tegra/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ menuconfig ARCH_TEGRA
bool "NVIDIA Tegra" if ARCH_MULTI_V7
select ARCH_REQUIRE_GPIOLIB
select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
select ARM_AMBA
select ARM_GIC
select CLKSRC_MMIO
select HAVE_ARM_SCU if SMP
Expand Down Expand Up @@ -59,12 +60,4 @@ config ARCH_TEGRA_124_SOC
Support for NVIDIA Tegra T124 processor family, based on the
ARM CortexA15MP CPU

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).

endif
2 changes: 2 additions & 0 deletions drivers/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
menu "Device Drivers"

source "drivers/amba/Kconfig"

source "drivers/base/Kconfig"

source "drivers/bus/Kconfig"
Expand Down
12 changes: 12 additions & 0 deletions drivers/amba/Kconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
config ARM_AMBA
bool

if ARM_AMBA

config TEGRA_AHB
bool "Enable AHB driver for NVIDIA Tegra SoCs"
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

0 comments on commit bd968d5

Please sign in to comment.