diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2017-03-28 15:42:54 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-04-04 16:48:04 +0300 |
commit | 7e10cf743634a6b0f3cf63046c49294b38254fe9 (patch) | |
tree | 8a13813e246ec3e5abbb0de3da93bec4baf517da /arch/arm/mach-tegra/reset-handler.S | |
parent | 07d76e953b5ec616f3d4c2d807e911e37312dc72 (diff) | |
download | linux-7e10cf743634a6b0f3cf63046c49294b38254fe9.tar.xz |
soc/tegra: Move Tegra flowctrl driver
The flowctrl driver is required for both ARM and ARM64 Tegra devices
and in order to enable support for it for ARM64, move the Tegra flowctrl
driver into drivers/soc/tegra.
By moving the flowctrl driver, tegra_flowctrl_init() is now called by
via an early initcall and to prevent this function from attempting to
mapping IO space for a non-Tegra device, a test for 'soc_is_tegra()'
is also added.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/reset-handler.S')
-rw-r--r-- | arch/arm/mach-tegra/reset-handler.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/reset-handler.S b/arch/arm/mach-tegra/reset-handler.S index e3070fdab80b..805f306fa6f7 100644 --- a/arch/arm/mach-tegra/reset-handler.S +++ b/arch/arm/mach-tegra/reset-handler.S @@ -17,12 +17,12 @@ #include <linux/init.h> #include <linux/linkage.h> +#include <soc/tegra/flowctrl.h> #include <soc/tegra/fuse.h> #include <asm/asm-offsets.h> #include <asm/cache.h> -#include "flowctrl.h" #include "iomap.h" #include "reset.h" #include "sleep.h" |